2020-06-09-getting-started.markdown (1028B)
1 --- 2 layout: post 3 title: "Getting started with forb" 4 date: 2020-06-09 13:00:10 5 categories: forb 6 --- 7 8 Forb is blogging system using configurations similar to [jekyll](https://jekyllrb.com). 9 10 - Run `forb new` to copy the default template to the current directory 11 - Run `forb` to generate the site (saved under the `_site` directory) 12 13 # About markdown 14 15 The markdown standard in forb is `CommonMark` with tables. 16 17 - Table example: 18 ``` 19 | Line 1, Column A - Title line in Bold | Column B - Title line in Bold | 20 | Line 2, A | 2B | 21 22 ``` 23 24 - Link to external page: 25 ``` 26 [title](url) 27 ``` 28 29 - Image in post: 30 ``` 31  32 33 When baseurl="/blog", write: 34  35 ``` 36 37 - Link to another post in blog: 38 ``` 39 [another post](_%baseurl{% post_url POST_FILENAME_WITHOUT_MARKDOWN_EXTENSION %}) 40 41 Keep "_%baseurl", forb replaces it with the value in _config.yml, 42 after post_url write the post filename to be linked without ".markdown": 43 [another post](_%baseurl{% post_url 2020-06-09-getting-started %}) 44 ```