Skip to content
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

Add CodeMirror support for the infobox tag and its children in extension.json #96

Open
the-dragons-studio opened this issue Feb 28, 2023 · 0 comments

Comments

@the-dragons-studio
Copy link

At the moment, PortableInfobox does not define how to syntax highlight the infobox tag, leading to everything within, including wikitext, being harder to edit. PortableInfobox should probably define some tags to be syntax highlighted in extension.json's CodeMirrorTagModes; most criticially, those that contain wikitext like the format, default and label tags.

Some ideas:

  • Use text/mediawiki for the label, format and default tags.
  • If it doesn't interfere with subtags, mark infobox as text/xml or similar
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

No branches or pull requests

1 participant