1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-11-18 00:13:55 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Elisabeth Henry
0a39bee213 Make Book parse inline yaml blocks, not just ignoring them. 2016-03-01 16:00:43 +01:00
Elisabeth Henry
8b8d847a7d Consider it is a YAML block only if first line is at the beginning of a
doc or preceded by an empty line, to avoid the case where
Foo
---

Bar
---

gets counted as a YAML block. The only ambiguous case left is if you had wanted to make two rules,
but can easily be avoided by using either *** for rules, or by using more dashes.
2016-03-01 04:02:49 +01:00
Elisabeth Henry
fa5393641b Crowbook now ignores YAML blocks (i.e., delimited by two lines containing ---, must contain valid YAML) in Markdown files 2016-03-01 01:28:36 +01:00
Elisabeth Henry
32e7231fba added a dash escape test in test.md 2016-02-25 19:56:30 +01:00
Elisabeth Henry
d081767a83 added a test md file (and book) in tests directory 2016-02-23 22:41:22 +01:00