Open szpak opened 2 years ago
Sometimes, I would like to place 2 or 3 code snippets and it is important for people which file is which and what are the file names.
I would be good to be able to redefine a default code snippet header with a file name. For example, instead of:
I would like to be able to have "SpockConfig.groovy" used instead of "Groovy" in the header.
The parameter could be passed as the others, e.g.
```groovy {hl_lines=[6,9,17], file_name="SpockConfig.groovy"} //my source code ```
Sometimes, I would like to place 2 or 3 code snippets and it is important for people which file is which and what are the file names.
I would be good to be able to redefine a default code snippet header with a file name. For example, instead of:![image](https://user-images.githubusercontent.com/148013/166559523-07b0ea9c-8e81-4a51-8018-b1104118ad1e.png)
I would like to be able to have "SpockConfig.groovy" used instead of "Groovy" in the header.
The parameter could be passed as the others, e.g.