Allow trailing `###` on h3-level section headers.
Chris Pressey
5 years ago
0 | 0 |
History of Feedmark
|
1 | 1 |
===================
|
|
2 |
|
|
3 |
0.10
|
|
4 |
----
|
|
5 |
|
|
6 |
* Allow trailing `###` on h3-level section headers.
|
2 | 7 |
|
3 | 8 |
0.9-2019.105
|
4 | 9 |
------------
|
0 | 0 |
Feedmark
|
1 | 1 |
========
|
2 | 2 |
|
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.*
|
4 | 4 |
|
5 | 5 |
**Feedmark** is a format for embedding structured data in Markdown files
|
6 | 6 |
in a way which is both human-readable and machine-extractable.
|
|
108 | 108 |
Feedmark is a subset of Markdown, which is something it has in common
|
109 | 109 |
with [Falderal][], however it has decidedly different goals.
|
110 | 110 |
|
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 | |
|
125 | 111 |
[Falderal]: http://catseye.tc/node/Falderal
|
126 | 112 |
[Chrysoberyl]: http://git.catseye.tc/Chrysoberyl/
|
127 | 113 |
[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.
|
24 | 24 |
|
25 | 25 |
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.
|
26 | 26 |
|
27 | |
### Llamas: It's Time to Spot Them
|
|
27 |
### Llamas: It's Time to Spot Them ###
|
28 | 28 |
|
29 | 29 |
* date: Nov 1 2016 09:00:00
|
30 | 30 |
|
243 | 243 |
while self.is_blank_line():
|
244 | 244 |
self.scan()
|
245 | 245 |
|
246 | |
match = re.match(r'^\#\#\#\s+(.*?)\s*$', self.line)
|
|
246 |
match = re.match(r'^\#\#\#\s+(.*?)\s*(\#\#\#)?\s*$', self.line)
|
247 | 247 |
if not match:
|
248 | 248 |
raise ValueError('Expected section, found "{}"'.format(self.line))
|
249 | 249 |
|