Markdown extension: sections #19
Labels
brainstorming
Discussing ideas around a concept and its implementation
help wanted
Extra attention is needed
↑
Priority: nice to have
This is just an idea so far, but:
Using the
§
character (which hopefully most people have access to form their keyboard in one way or another), you can define sections in the content.When processing the Markdown, the
post
object receives the following properties:content
is the whole content (all sections together) — do we strip out the section names, convert them to headings?sections
is an object containing the individual sections. Now, it can either be an object or an array, or both. It should be easy to:post.sections.excerpt
){% for section in post.sections %}
)The use
The text was updated successfully, but these errors were encountered: