Commit graph

20 commits

Author SHA1 Message Date
Timur Demin
637ff4b71b
Rid of an unneeded check
RenderMarkdown doesn't really need an extra check on whether or not the
Markdown content size is more than a specific amount.
2020-11-11 23:21:17 +05:00
Timur Demin
9ea608670f
Clarify the subset of front matter data rendered 2020-11-11 23:21:17 +05:00
Timur Demin
adf921d2a5
Update TODO in README 2020-11-11 23:21:17 +05:00
Timur Demin
ceed6f07f4
Fix rendering of links as first paragraph child
Fixes #2.
2020-11-11 23:21:17 +05:00
Timur Demin
b181afc5f1
Add YAML front matter parsing support
Fixes #1. Only a subset of Hugo front matter props are supported, namely
title/date.
2020-11-11 23:21:17 +05:00
Timur Demin
326dc63112
Add support for inline code blocks 2020-11-11 23:21:17 +05:00
Timur Demin
32ec381d73
Add README and license code under GPLv3 2020-11-11 23:21:16 +05:00
Timur Demin
4d80d36f00
Provide a public API
This also introduces a simple program, md2gmn, that is meant for testing
the renderer on Markdown files. Nonetheless, it can be used as
a standalone tool as well.
2020-11-11 23:20:52 +05:00
Timur Demin
507ec6ad88
Ignore test files from Git 2020-11-08 17:38:15 +05:00
Timur Demin
5de6b9b930
Add support for lists 2020-11-08 16:40:49 +05:00
Timur Demin
b2a941bdb6
Add preformatted text block support 2020-11-08 01:07:53 +05:00
Timur Demin
98d6ff6d5f
Add lists and subsequent link paras to test text 2020-11-08 00:06:43 +05:00
Timur Demin
6ee9efab52
Improve the rendering of subsequent links 2020-11-08 00:05:53 +05:00
Timur Demin
3d9314f0a4
Make blockquote read stuff not byte-by-byte 2020-11-07 19:27:55 +05:00
Timur Demin
4799b2b511
Improve newline handling 2020-11-07 19:22:31 +05:00
Timur Demin
49725d712a
Add image/link text render and blockquote support 2020-11-07 17:21:36 +05:00
Timur Demin
85b0ef51b3
Add the latest code 2020-11-06 13:47:02 +05:00
Timur Demin
ff6ab83130
Add gigignore 2020-11-06 13:46:40 +05:00
Timur Demin
f77bdd6b03
Add spew 2020-11-06 13:46:25 +05:00
Timur Demin
178647b4bc
Initial commit 2020-10-29 16:40:00 +05:00