Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Vue.js syntax highlighting #267

Open
ZhaoQi99 opened this issue Jun 3, 2024 · 1 comment
Open

Feature Request: Vue.js syntax highlighting #267

ZhaoQi99 opened this issue Jun 3, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ZhaoQi99
Copy link

ZhaoQi99 commented Jun 3, 2024

Summary

Is there any way to support Vue.js syntax highlighting?
I have successfully added Vue.js icon locally by editing LANGUAGES, but I cannot get syntax highlighting to work.

export const LANGUAGES: {[key: string]: Language} = {

Btw, I also tried to edit the MODES, but it still didn't work.

const MODES = [
"reference",
"yaml-frontmatter",
];

And I didn't find Vue.js at https://prismjs.com/ . Is it because prismjs does not support it? PrismJS/prism#1665

Additionally,

<g><g stroke="null" id="svg_3"> <path stroke="null" id="svg_1" d="m19.73828,2.5l-3.61328,6.20117l-3.61328,-6.20117l-12.01172,0l15.625,26.85547l15.625,-26.85547c0,0 -12.01172,0 -12.01172,0z" fill="#42b883"/><path stroke="null" id="svg_2" d="m19.73828,2.5l-3.61328,6.20117l-3.61328,-6.20117l-5.76172,0l9.375,16.11328l9.375,-16.11328l-5.76172,0z" fill="#35495e"/></g></g>

Basic example

image

Motivation

support more language

Existing Requests?

None

@ZhaoQi99 ZhaoQi99 added the enhancement New feature or request label Jun 3, 2024
@alexinea
Copy link

alexinea commented Sep 6, 2024

I'm also looking forward to supporting Vue's syntax highlighting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants