You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/strictdoc_04_release_notes.sdoc
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,15 @@ This release contains the following enhancements:
57
57
1\) The code block syntax highlighting has been enabled for all RST ``.. code::`` blocks. The code blocks that have been tested already include C, TOML, and Python.
58
58
59
59
Also, a Pygments lexer for the SDoc markup has been added to the StrictDoc source code. From now on, ``.. code:: strictdoc`` blocks are recognized and syntax-highlighted.
60
+
61
+
2\) The grammar aliases were added to allow importing a single grammar from multiple SDoc documents located in different directories. From now on, it is possible to register a grammar alias and its path in a project configuration file and use it as follows:
62
+
63
+
.. code-block:: strictdoc
64
+
65
+
[GRAMMAR]
66
+
IMPORT_FROM_FILE: @my_grammar
67
+
68
+
Thanks to @gregshue for requesting this feature and explaining the need for it.
0 commit comments