-
When the processor extracts code blocks from .md files, each block is individually linted. If I understand correctly, the extracted code block inherits the filename of the .md file it came from. I need a way to control the filenames assigned to these code blocks. The problem is that I’m using the CheckFile plugin for validating filenames. When a README.md file contains Vue code blocks, it results in filename errors because README is not considered a valid Vue filename. Is there a way to specify a filename annotation for these code blocks? Alternatively, can the plugin be configured with a map of valid filenames and extensions to use? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Right now there is no way to do this. There is a proposal to allow configuring the filename from code blocks: #230 |
Beta Was this translation helpful? Give feedback.
Right now there is no way to do this. There is a proposal to allow configuring the filename from code blocks: #230