Skip to content

Extend Prism Module with Custom Languages #157

@InanisOmnia

Description

@InanisOmnia

Hi there! I absolutely love the plugin and am enjoying all the features. However I am going to be a pain and request one more!

I already have a custom language definition for Prism with the relevant Regex and token types. I was wondering if it were possible to allow users to add in these definitions the same way you can extend Prism normally like follows Prism.languages["MY_LANG"] = {...}

I don't know if there is already a way to do this inside Obsidian so pardon me if I am mistaken, but I feel like your plugin having this feature would just be the cherry on top!

Please point me in the right direction if I have missed something!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions