Skip to content

Add AviSynth support to prism.js#432

Merged
adelikat merged 1 commit into
TASVideos:masterfrom
Zinfidel:prismjs-avisynth
Sep 16, 2021
Merged

Add AviSynth support to prism.js#432
adelikat merged 1 commit into
TASVideos:masterfrom
Zinfidel:prismjs-avisynth

Conversation

@Zinfidel

Copy link
Copy Markdown
Contributor

AviSynth support has been officially added to PrismJS (PrismJS/prism#3071).

I updated this prism.js file by copying the link in the comment at the top, adding the AviSynth option, and downloading. I think it looks as different as it does because the site seems to be alphabetically sorting the url now, and other changes have probably taken place in the included languages since the file was originally added.

@Zinfidel Zinfidel changed the title Add AviSynth support to prism.js (#384) Add AviSynth support to prism.js Sep 15, 2021
@Zinfidel

Copy link
Copy Markdown
Contributor Author

Resolves #384

@vadosnaprimer

Copy link
Copy Markdown
Collaborator

So which languages do we highlight so far?

@vadosnaprimer

Copy link
Copy Markdown
Collaborator

Hey looks like we're gonna need Razor C#.

Also maybe a few plugins: Line Numbers, Show Language, Copy to Clipboard Button, and Download Button.

@nattthebear

Copy link
Copy Markdown
Collaborator

Also maybe a few plugins: Line Numbers, Show Language, Copy to Clipboard Button, and Download Button.

Line numbers sounds OK, but we already have our own mechanism for download button that matches the old site behavior, as well as showing what language it is

@adelikat adelikat merged commit 1339636 into TASVideos:master Sep 16, 2021
nattthebear pushed a commit that referenced this pull request Dec 24, 2021
@Zinfidel Zinfidel deleted the prismjs-avisynth branch January 3, 2022 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants