1

I often edit markdown files with in-line code examples. these all start with the line “~~~ {.cpp}” (for C++). Is there an easy way to highlight everything between the line “~~~ {.cpp}” and the line “~~~” with C++ syntax hightlighting?

(Or even better, make it use “x highlighting” after “~~~ {.x}”.)

1 Answer 1

1

This works for me. Maybe it is a starting point for further digging...

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.