-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
.ino is main file extension for arduino files #2990
Conversation
JS File Size Changes (gzipped)A total of 3 files have changed, with a combined diff of +26 B (+0.4%).
|
Interesting, does Prism do aliases like this? |
I looked at the python language and that's how they handled py and python Tested it with FileHighlight to remote .ino file and the proper code highlighting started working. |
Ruby also. Perhaps you are right. :) Just wasn't aware of 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.
Thank you for the PR @Outreach-ChemEng-UofU!
To add an alias, you also have to register it in components.json
using the "alias"
property. You also have to rebuild Prism by running the command npm ci && npm run build
.
@joshgoebel Yes, this is how Prism currently does aliases.
Thank you for contributing @Outreach-ChemEng-UofU! |
No description provided.