Skip to content

manually specify language for syntax highlighting to override auto detection #29

@vlabella

Description

@vlabella

Is it possible to manually specify the programming language as one can do in mkdoc markdown file like

```my_language
this is my special obscure programming
language that is not recognized by highlightjs out of the box.
So I wrote my own language extension for it which works great
but auto detect does not work for some reason
```

maybe the syntax could be

<!--codeinclude-->
[Human readable title for snippet](./hello_world.my_language){my_language}
<!--/codeinclude-->

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions