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
For some languages in the markdown source editor, code fences are properly highlighted, but when rendered that syntax highlighting is lost. This is a tear off of a comment left on the related issue nteract/nteract#4445.
java is working in markdown source but not in code cells, nor in rendered markdown. Here is a screenshot:
This was on nteract desktop v0.14.3, windows 10. I'll also attach the notebook in case anything in there is interesting/helpful:
We've leveled up from the previous scenario because rendered markdown now shows proper syntax highlighting for code.
However, it looks like the themes we are using from react-syntaxhighlighter don't get updated appropriately when the app theme changes. My suspicion is that this has something to do with the way the theme prop is propagated from the Source component to the syntax highlighter.
captainsafia
changed the title
Syntax highlighting works in markdown source yet not in rendered markdown
Syntax highlighting works in rendered markdown not respecting theme
May 6, 2020
For some languages in the markdown source editor, code fences are properly highlighted, but when rendered that syntax highlighting is lost. This is a tear off of a comment left on the related issue nteract/nteract#4445.
java
is working in markdown source but not in code cells, nor in rendered markdown. Here is a screenshot:This was on nteract desktop
v0.14.3
, windows 10. I'll also attach the notebook in case anything in there is interesting/helpful:Notebook JSON
The interesting information being:
The text was updated successfully, but these errors were encountered: