We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for a html report output in the grammarkdown cli:
grammarkdown source.grammar --format html
This would have the following characteristics:
<dl>
<dt>
id
#Identifier
<var>
<a>
<dd>
#Identifier-AlternateId
<kbd>
Example:
<section id="grammar"> <h1>Grammar</h1> <dl class="grammar"> ... <dt id="ImportDeclaration"> <var><a href="#index-ImportDeclaration">ImportDeclaration</a></var> </dt> <dd id="ImportDeclaration-ade9f438"> <span> <kbd>import</kbd> <var><a href="#ImportClause">ImportClause</a></var> <var><a href="#FromClause">FromClause</a></var> <kbd>;</kbd> </span> </dd> <dd> <span> <kbd>import</kbd> <var><a href="#ModuleSpecifier">ModuleSpecifier</a></var> <kbd>;</kbd> </span> </dd> <dt id="ImportClause"> <var><a href="#index-ImportClause">ImportClause</a></var> </dt> ... </dl> </section> <section id="index"> <h1>Index</h1> <dl class="index"> <dt id="index-ImportClause"> <var><a href="#ImportClause">ImportClause</a></var> </dt> <dd> <var><a href="#ImportDeclaration">ImportDeclaration</a></var> : <span> <kbd>import</kbd> <var>ImportClause</var> <var><a href="#FromClause">FromClause</a></var> <kbd>;</kbd> </span> </dd> ... </dl> </section>
The text was updated successfully, but these errors were encountered:
rbuckton
No branches or pull requests
Add support for a html report output in the grammarkdown cli:
This would have the following characteristics:
<dl>
(HTML definition list).<dt>
(HTML definition term).id
attribute for hyperlink navigation using url fragments (e.g.#Identifier
).<var>
(HTML variable).<a>
(HTML anchor/link) to an index at the end of the report.<a>
(HTML anchor/link) to an index at the end of the report.<dd>
(HTML definition)id
attribute for hyperlink navigation using url fragments (e.g.#Identifier-AlternateId
).<var>
(HTML variable) element.<a>
(HTML anchor/link) to the first instance of the declaring production.<a>
to the first instance of the declaring parameter.<kbd>
(HTML keyboard input) element.Example:
The text was updated successfully, but these errors were encountered: