in my .md documents, I use code blocks in the form of
:::csharp public class xy { }
this works. Now I want to highlight line 1 of this code snippet. As per http://pythonhosted.org/Markdown/extensions/code_hilite.html, this should work using the "hl_lines" parameter, which would result in
:::csharp hl_lines="1" public class xy { }
But this does not work. Is there any way to highlight a line of code?
you've probably already worked it out by now... but use triple-backticks instead of the triple colon
see "code blocks" here:
https://confluence.atlassian.com/bitbucketserver/markdown-syntax-guide-776639995.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.