Skip to content
New issue

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

Allow code language to be specified #27

Closed
hubgit opened this issue Feb 28, 2014 · 2 comments
Closed

Allow code language to be specified #27

hubgit opened this issue Feb 28, 2014 · 2 comments

Comments

@hubgit
Copy link
Contributor

hubgit commented Feb 28, 2014

Currently

<preformat preformat-type="code">…</preformat>

will be converted to

<pre><code></code></pre>

To specify the language, e.g. for code highlighting, the output should contain a class="language-* attribute on the code element, e.g. <code class="language-python">.

@hubgit
Copy link
Contributor Author

hubgit commented Feb 28, 2014

Dependent on #28, as the <code> element, with its language attribute, was added in JATS 1.1d1.

@hubgit
Copy link
Contributor Author

hubgit commented Feb 5, 2016

Closing in favour of #108

@hubgit hubgit closed this as completed Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant