From 54ac714da7175a8a08239e500a4e75a48b97d97e Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 24 Dec 2022 18:10:17 +0000 Subject: Initial version of generator Generation of feed page and post pages are supported. Markdown to html conversion seems working. At least there is nothing strange with hello-world example. --- posts/drafts/hello-world/hello-world.md | 59 +++++++++++++++++++++++++++++++++ posts/drafts/hello-world/metadata.txt | 3 ++ 2 files changed, 62 insertions(+) create mode 100644 posts/drafts/hello-world/hello-world.md create mode 100644 posts/drafts/hello-world/metadata.txt (limited to 'posts') diff --git a/posts/drafts/hello-world/hello-world.md b/posts/drafts/hello-world/hello-world.md new file mode 100644 index 0000000..cecfa2d --- /dev/null +++ b/posts/drafts/hello-world/hello-world.md @@ -0,0 +1,59 @@ +This is a post to demonstrate and test content generation code. I am not a +writing master, so I am going just enumerate features I am going to use to see +how they are rendered. + +And I want to know how multiple paragraphs are rendered. + + +## Code + +Standalone code block like this one. + +``` +#include + +int main() { + std::cout << "Hello, World" << std::endl; + return 0; +} +``` + +And embedded code like `this` and `this`. + + +## Lists +* I +* like +* itemized +* lists + +Also, sometimes I use enumerated lists like this one. +1. One. +2. Two. +3. Three. + + +## Formatting + +This is a **bold** text. And this is _italic_. + + +## Quotes +> I don't know what's the matter with people: they don't learn by +> understanding; they learn by some other way — by rote or something. +> Their knowledge is so fragile! + + +## Footnotes + +Oh, some it would nice to have footnotes like this one[^1]. + +[^1]: This should work. + + +## URLs + +Here is the url to [website][1]. And the same [url](https://ilvokhin.com), but +embedded into the text. + +[1]: https://ilvokhin.com diff --git a/posts/drafts/hello-world/metadata.txt b/posts/drafts/hello-world/metadata.txt new file mode 100644 index 0000000..800612c --- /dev/null +++ b/posts/drafts/hello-world/metadata.txt @@ -0,0 +1,3 @@ +Title: Hello, World! +Date: 2022-12-23 +Status: draft -- cgit v1.2.3-70-g09d2