diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2020-04-28 22:47:10 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-05-20 11:27:26 -0400 |
commit | 33d4cd24013c8660c100a0070802a0e9d1211421 (patch) | |
tree | 104a4739bbc12a749b9b7a1aef56aec2ef8ec4c7 /src/doc_reform/meta/defaults.d | |
parent | 0.11.0 in_source_files, changed tracking of code blocks (diff) |
metaverse, doc structure & blocks, change tracking
Diffstat (limited to 'src/doc_reform/meta/defaults.d')
-rw-r--r-- | src/doc_reform/meta/defaults.d | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/doc_reform/meta/defaults.d b/src/doc_reform/meta/defaults.d index e592be7..8b6edad 100644 --- a/src/doc_reform/meta/defaults.d +++ b/src/doc_reform/meta/defaults.d @@ -2,6 +2,38 @@ default settings +/ module doc_reform.meta.defaults; +template spineDocStatus() { + @safe static auto status() { + struct _e { + enum sect { + unset, + head, + toc, + substantive, + bibliography, + glossary, + book_index, + blurb, + } + enum block { + off, + closing, + code, + poem, + block, + group, + table, + quote, + } + enum ocn { + on, // 0 object_number; + off, // 1 no object_number; + dummy, // 2 no object_number & dummy headings + } + } + return _e(); + } +} template spineRgxDocStructFlags() { /+ regex flags +/ @safe static int[string] flags_type_init() { |