# Help

## Start with a new paper

1. clone this project from github~\footnote{https://github.com/hpi-swa-lab/markdown-paper-template}
2. In overleaf: create new project from github~\footnote{https://www.overleaf.com/project/5c52ff77b206d66446c9c729}
3. In lively4: clone repository from github
    - got https://lively-kernel.org/lively4/lively4-jens/start.html
    - clone github project with sync tool

##  Write text 

### Overleaf
    - PRO: get immediate PDF output while typing...
    - some syntax highlighting
    - can create final PDF
    
### Lively4
    - browse to repository and edit
    - PRO: markdown editing support
    - can manage files
    - can display draw.io figures directly without coverting
    - can navigate to figures in draw.io (open in iframe)
    - CON: cannot create pdf #TODO
    - some BibTex support

### Edit text directly on github
    - PRO: markdown editing support

### Local checkout
    
## Draw Figures: Draw.io
    - save changed figures back to github
    - OPTIONAL: export pdf to github, but better use lively4

![DrawioFigure](../figures/testdrawio "A figure created with drawio.")

```javascript
var a = "hello"
```
<!-- This is a comment -->
This is a reference to a paper [@Rein2016LLP] and this is a footnote^[https://d3js.org/].  




