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

Custom syntax highlighting XML file #42

Open
gtheler opened this issue Feb 9, 2024 · 0 comments
Open

Custom syntax highlighting XML file #42

gtheler opened this issue Feb 9, 2024 · 0 comments

Comments

@gtheler
Copy link

gtheler commented Feb 9, 2024

The piece of software I'm trying to publish reads a certain input file, and the paper shows some snippets of sample input files.
Being able to generate a PDF with syntax highlight would increase the clearness of the paper.

I tried to add

syntax-definition: feenox.xml

in the YAML block of paper.md (and added feenox.xml in the same directory as paper.md) but it does not work as expected.
Cloning the repository locally, the only way to make it work was to modify the makefile to add

--syntax-definition=$(OPENJOURNALS_PATH)/feenox.xml

to the invocation of pandoc.

Would it be possible to have this custom highlighting XML in JOSS in the automated builds?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant