Skip to content

Import Code Snippets: specify the language #1189

Open
@mbana

Description

@mbana

https://vuepress.vuejs.org/guide/markdown.html#import-code-snippets

I've got this block of code in Markdown file:

<<< @/docs/.vuepress/public/examples/circleci-authorizing-the-google-cloud-sdk_examples/.circleci/config.yml
...
<<< @/docs/.vuepress/public/examples/circleci-authorizing-the-google-cloud-sdk_examples/Makefile

Both work but the code is not highlighted. How do I specify the language when I import a code snippet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions