-
Notifications
You must be signed in to change notification settings - Fork 151
Release v2 with updated API #191
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
Conversation
carloskelly13
commented
Apr 21, 2023
- Updates docs to demonstrate custom lanugages
- Adds Madi's two PR changes to the v2 codebase (ignore case of language name #180 and Add rust and html to includedLangs #176)
- Adds AppleScript as a demo example of custom languages
@@ -121,6 +122,18 @@ ReactDOM.createRoot(document.getElementById("root") as HTMLElement) | |||
|
|||
``` | |||
|
|||
### Custom Language Support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @ryan-roemer I took your suggestion to bring this section to the forefront and verified the methods worked via our demo app
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore | ||
await import("prismjs/components/prism-applescript") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, one minor suggestion on the documentation