mbakeranalecta / sam

Semantic Authoring Markdown
Other
79 stars 8 forks source link

Generic block mode #84

Closed mbakeranalecta closed 7 years ago

mbakeranalecta commented 8 years ago

It might be useful to have a generic block output mode. This would output blocks (other than those with predefined names) as

<block type="section">

instead of

<section>

This is the same way that annotations are handled, and the motivation is similar. It allows for generic block processing, which allow you to write a program that processes all SAM documents, regardless of schema. Obviously, it limits what you can do in a generic program, but the functionality might be useful.

mbakeranalecta commented 7 years ago

This is an aspect of #88