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
Adding <code> blocks with the internal «CodeMirror» editor result in a good highlighted render of code in standard book view; however, when the page is exported to «Contained Html File», no highlight is applied.
<code> blocks highlight isn't rendered in the «Contained html ...» and code is rendered with non-highlighted code blocks style.
Steps to Reproduce
Create a simple page and add any program code of any of the supported languages
After «page save», code is displayed with syntax highlight
Export to «Contained Html File»
Open the result HTML file and code is rendered as a code badge, without any syntax highlighting
Expected Behaviour
Get the same rendering inside BookstackApp and in the exported «Contained Html File»
Screenshots or Additional Context
No response
Browser Details
Brave 1.175.175
Exact BookStack Version
24.12.1
The text was updated successfully, but these errors were encountered:
DoctorRetromaker
changed the title
CodeMirror blocks od code, isn't rendered correctly when exported
CodeMirror code blocks, isn't rendered correctly when exported
Feb 9, 2025
Describe the Bug
Adding
<code>
blocks with the internal «CodeMirror» editor result in a good highlighted render of code in standard book view; however, when the page is exported to «Contained Html File», no highlight is applied.<code>
blocks highlight isn't rendered in the «Contained html ...» and code is rendered with non-highlighted code blocks style.Steps to Reproduce
Expected Behaviour
Get the same rendering inside BookstackApp and in the exported «Contained Html File»
Screenshots or Additional Context
No response
Browser Details
Brave 1.175.175
Exact BookStack Version
24.12.1
The text was updated successfully, but these errors were encountered: