Annotations/comments for Code Blocks
M
Murray Bauer
Ability to add annotations/comments in a code block as pictured.
Currently a new feature in MKDocs for Material:
Markdown format to achieve:
``` yaml
theme:
features:
- content.code.annotate # (1)!
```
- :man_raising_hand: I'm a code annotation! I can contain code, __formatted
text__, images, ... basically anything that can be written in Markdown.
ldelsewhere househo
I'd love it if this were the case, since it can save me a lot of time when explaining code by eliminating the need to quote specific lines or chunks. https://drifthunters2.io
Traky D
Would appreciate this feature implemented too! Would be a useful addition.
George R.
I would also greatly appreciate this as It can be great when trying to explain code instead of having to refer to lines or sections in the code