git @ Cat's Eye Technologies Feedmark / 3c502ad
Allow trailing `###` on h3-level section headers. Chris Pressey 1 year, 7 months ago
5 changed file(s) with 17 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
00 History of Feedmark
11 ===================
2
3 0.10
4 ----
5
6 * Allow trailing `###` on h3-level section headers.
27
38 0.9-2019.105
49 ------------
00 Feedmark
11 ========
22
3 *Version 0.9-2019.1015. Subject to change in backwards-incompatible ways without notice.*
3 *Version 0.10. Subject to change in backwards-incompatible ways without notice.*
44
55 **Feedmark** is a format for embedding structured data in Markdown files
66 in a way which is both human-readable and machine-extractable.
108108 Feedmark is a subset of Markdown, which is something it has in common
109109 with [Falderal][], however it has decidedly different goals.
110110
111 TODO
112 ----
113
114 Research whether JSON Schema could be used for validation as well.
115
116 "common" properties on document which all entries within inherit.
117
118 Sub-entries. Somehow. For individual games in a series, implementations
119 or variations on a programming language, etc.
120
121 Allow trailing `###` on h3-level headings.
122
123 Index creation from refdex, for permalinks.
124
125111 [Falderal]: http://catseye.tc/node/Falderal
126112 [Chrysoberyl]: http://git.catseye.tc/Chrysoberyl/
127113 [The Dossier]: http://git.catseye.tc/The-Dossier/
0 TODO for Feedmark
1 -----------------
2
3 "common" properties on document which all entries within inherit.
4
5 Sub-entries. Somehow. For individual games in a series, implementations
6 or variations on a programming language, etc.
7
8 Index creation from refdex, for permalinks.
2424
2525 Aenean ullamcorper ex at tellus bibendum semper. Donec lectus augue, vestibulum vel justo in, euismod feugiat libero. Nam fringilla iaculis fermentum. Sed ac felis quis nunc fringilla mattis. Suspendisse potenti. Suspendisse a eros vel lacus luctus venenatis ut id tortor. Etiam nisi orci, scelerisque et aliquam sit amet, blandit non mi. Ut fringilla est sed metus facilisis convallis. Aliquam pharetra iaculis lobortis.
2626
27 ### Llamas: It's Time to Spot Them
27 ### Llamas: It's Time to Spot Them ###
2828
2929 * date: Nov 1 2016 09:00:00
3030
243243 while self.is_blank_line():
244244 self.scan()
245245
246 match = re.match(r'^\#\#\#\s+(.*?)\s*$', self.line)
246 match = re.match(r'^\#\#\#\s+(.*?)\s*(\#\#\#)?\s*$', self.line)
247247 if not match:
248248 raise ValueError('Expected section, found "{}"'.format(self.line))
249249