This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for BBCode code style (#78)
* Add support for alternative tag styles, still default to <xml></xml> style. Makes it possible to do [bb][/bb] code style * add out of the box bbcode tags that can take parameters - optional also retains old xml style functionality without any regressions * fix demo is not loading * clip partially showing tags at the end of clipped text - useful for scrolling * make absolutely sure no incomplete tags end up on the screen * fix color tag with hashtag not getting picked up * use enums for tag styles * revert any changes to demo, due to prettier messing up its formatting * revert changes to demo * formatting * fix pixi-multistyle crashing when close tag is in wrong place, cleanup incomplete tags for bot styles * format * update demo to show bbcode tags use * remove redundant hack to get demo to run on linux
- Loading branch information
Showing
2 changed files
with
90 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters