Add option for adding filename to a codeblock

WHAT DO YOU RECOMMEND

It would be nice to have an option in the codeblock to also add a filename (if the codeblock is meant to represent a file).

HOW COULD IT BE DONE

Next to the language filter, in the middle, or to the right of the codeblock, there could be a “filename” option.

RECOMMENDED ALTERNATIVES

Currently I am adding a line above the codeblock with the filename.

1 Like