-
Notifications
You must be signed in to change notification settings - Fork 13
syntax highlighting for markdown-embedded gherkin #26
Comments
update: on reboot the syntax highlighting is working in the rendered preview, but no syntax highlighting is present in the plain-text view |
found this - microsoft/vscode#23055 (comment) |
Hi there, I'm not sure I understand your expected behaviour. Can you include a couple of screenshots that show what you expected vs what you actually have? |
Perfect, now it's clear! I would use I can't implement that feature right now, but if anyone wants to contribute I'll gladly merge it. |
looks like it just requires an update to |
And... Does it work? |
Not yet, still trying (committing directly to master, testing in production, |
It didn't work :( This was my attempt 26380c4 I'll ping https://github.com/mjbvz, maybe he can help spot what's wrong: mjbvz/vscode-fenced-code-block-grammar-injection-example#9 |
I followed However it still doesn't work. I'll have to give up. I'll leave the issue and PR opened in case someone else wants to fix it. Sorry :/ |
I'm using
yzhang.markdown-all-in-one
for previewing markdown files. This works a treat for automagically applying syntax highlighting to both the plain-text and the generated output.This plugin seems to have some mechanism for picking up installed syntax highlighters based on the tags on markdown code blocks. I usually find that installing an appropriate plugin Just Works (for python, plantuml, Rust, etc.)
Is there some way to register this plugin as a syntax highlighter for these embedded code blocks?
apologies for not providing more detail, i'm really not clear on how this is implemented for other 'languages'. Hoping you'll know more than me
The text was updated successfully, but these errors were encountered: