ackwell / bboxed Goto Github PK
View Code? Open in Web Editor NEWAn extensible bbcode parser for node.js
License: MIT License
An extensible bbcode parser for node.js
License: MIT License
The codebase was originally written for server-side usage, though could likely be implemented on the client side as well with a little work. A number of things should be considered:
[ ] Default tag library is a little bulky, and could likely be broken out into a separate package
[ ] Changing function implementation for better compatibility with browser-side loaders
The above will likely introduce breaking changes to the API, so this should likely be considered as part of a version push to v1.0
As per @marksyzm's suggestion, [list]
tags should be implemented with a parameter to designate the type and styling of the list (e.g. [list=1]
for list-style-type: decimal;
, and so on.)
I'm looking to implement this but not all the functionality you've put in is ideal in all the tags.
Would it be possible to manually create mine instead and not have the forced require('./tags')
part?
I can go ahead and put some work into this myself if this is too much to ask.
Currently, the tag functionality used in lists for the list items ([*]
and the like) is unique to those tags, and cannot be used by other custom tags without modification of the parser.
If possible, this functionality should be generalised, so custom tags also have access to this type of tag.
This will likely need to be addressed as part of #5.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.