1
Swift/Kotlin/Elixir language highlighting?
Source: outline/outline#3890 · opened by @spotlightishere
Hi, all! I started using Outline a few days ago, and am loving it so far!
I'd like to propose adding three languages to have highlighting: Swift, Kotlin, and Elixir.
These languages both appear higher up on the [2022 Stack Overflow "Most Loved" languages list]( and have a high amount of users. Additionally, highlighting already supports Objective-C (for Swift) and Java (for Kotlin) respectively, so this may make it easier for such developers.
It appears that [Refractor]( already supports all three.
Testing locally, only three changes would seem to be changed: adding their imports & adding to the registration array in shared/editor/nodes/CodeFence.ts, and then adding to the LANGUAGES object in shared/editor/plugins/Prism.ts.
Thoughts on adding these languages? Would any other areas need editing to support?
Thank you!
I'd like to propose adding three languages to have highlighting: Swift, Kotlin, and Elixir.
These languages both appear higher up on the [2022 Stack Overflow "Most Loved" languages list]( and have a high amount of users. Additionally, highlighting already supports Objective-C (for Swift) and Java (for Kotlin) respectively, so this may make it easier for such developers.
It appears that [Refractor]( already supports all three.
Testing locally, only three changes would seem to be changed: adding their imports & adding to the registration array in shared/editor/nodes/CodeFence.ts, and then adding to the LANGUAGES object in shared/editor/plugins/Prism.ts.
Thoughts on adding these languages? Would any other areas need editing to support?
Thank you!
No pledges yet. Be the first to back this.
Comments
Similar requests
Add Parsers for CodeBlock for more use in CyberSecurity Sector
2 votes · 0 comments
Please reconsider bringing back Russian language support
14 votes · 0 comments
Code language ABAP support
1 vote · 0 comments
Support Multiple Font Colours in Outline
3 votes · 0 comments
Feature Request: Add Syntax Highlighting for “diff” file format
3 votes · 0 comments
No comments yet.