htmd/README.md

21 lines
836 B
Markdown
Raw Permalink Normal View History

2024-04-26 14:40:44 +02:00
# static site generator
2024-04-26 23:33:46 +02:00
All files get copied from the `write` dir to the `site` dir
2024-04-26 14:40:44 +02:00
2024-04-26 23:33:46 +02:00
Markdown files get converted to html in the process
2024-04-26 23:33:46 +02:00
HTML is generated from `template.html`, with`{FILENAME}`(optional) and `{CONTENT}` getting replaced.
2024-04-26 23:33:46 +02:00
This markdown is non compliant and I don't care. `*Emphasis*`, `**bold**` and `_underlined_` are implemented, as well as ``code``.
Standard `## Headers` up to 6 levels, and \`\`\` at the start of a line for code block (html `<pre>`) toggling. Backslashes for escaping may be added later.
There are no lists, but also automatic line breaks everywhere, so they look fine without needing html lists
2024-04-26 14:40:44 +02:00
ideas:
```
2024-04-26 14:40:44 +02:00
/blog/post_1.md -> /blog/post_1/index.html
/blog/ferret.mp4 -> /blog/post_1/ferret.mp4
/blog/post_2/post_2.md -> /blog/post_2/index.html
/blog/post_2/cat.png -> /blog/post_2/cat.png
```