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

Add Latex codemirror option #3458

Closed
1 task done
p-ang opened this issue May 25, 2022 · 1 comment
Closed
1 task done

Add Latex codemirror option #3458

p-ang opened this issue May 25, 2022 · 1 comment

Comments

@p-ang
Copy link

p-ang commented May 25, 2022

Describe the feature you'd like

Add code display option for LaTeX, which could allow code highlighting as illustrated here:

https://codemirror.net/mode/stex/index.html

I believe that the required mode files that need to be referenced in the bookstack source are available here:

https://github.com/codemirror/CodeMirror/tree/master/mode/stex

Describe the benefits this would bring to existing BookStack users

It would allow users to beautifuly present LaTeX source code

Can the goal of this request already be achieved via other means?

Not that I know of. I looked at earlier issues, and I can see that in the past users had to request for specific languages to be added.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?

0 to 6 months

Additional context

No response

@ssddanbrown
Copy link
Member

Thanks for the request @p-ang,
Latex code block highlighting has been added in 7c597a0 and will be part of the next feature release.

yangmx5 pushed a commit to yangmx5/BookStack that referenced this issue Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants