In order to support both use-cases described in the issue, I've added an option called: ignoreInvalidLanguages.
This option can take take one of two values:
html - Fixing the original use-case: Generate the same HTML as if the language was recognized, but has no special highlighting (similar to the text language)
md - Keep the default markdown processing.
The difference in the output between the two options can also be seen in the newly added tests.
In order to support both use-cases described in the issue, I've added an option called:
ignoreInvalidLanguages
. This option can take take one of two values:html
- Fixing the original use-case: Generate the same HTML as if the language was recognized, but has no special highlighting (similar to thetext
language)md
- Keep the default markdown processing.The difference in the output between the two options can also be seen in the newly added tests.