Closed Aviortheking closed 5 years ago
Where exactly in Nextcloud is this? What app?
it's this one https://apps.nextcloud.com/apps/files_markdown
Okay thanks, I'll take a look.
Okay, so I've had a quick look and I need to add CSS for the syntax highlighting. It would be a great help if you could post some code snippets where you notice styling problems, then I can quicker add some syntax highlighting that works with this theme.
there are pre-done highlighters already available like this one: https://github.com/highlightjs/highlight.js/blob/master/src/styles/a11y-dark.css (personal favorite :wink: )
and many more available to test: https://highlightjs.org/static/demo/
but if you want code snippets, a copied the ones on the link above and made it in markdown: https://cloud.delta-wings.net/index.php/s/TKXww69aQLr6T72
Oh okay, great. Thank you for the links, it should be a lot easier than I first expected.
Your welcome :smile:
Okay, I've decided to include the highlighting theme you recommended. I might look at making a highlighting theme based on the Breeze Dark highlighting theme but for now there are other things for this theme I would rather work on. Syntax highlighting is hard to get right.
OK thanks for your work :blush:
Below is a is snippet but its not coloring nor the text in itself.