Bitran (Block & Inliner transpiler) is a highly customizable text processor and transpiler for converting any structured text into programming-friendly DOM (document object model) that consists of elements: blocks and inliners. These elements can be easily analyzed or rendered into any other format: HTML, Vue, etc...
🚧 Bitran is under heavy development!
Key features:
- User defined blocks and inliners
- YAML structured blocks structure support
- Infinite nesting of blocks and inliners
- Flexible meta syntax with YAML support
- Handy DOM representation of text
- Built-in ID assignment and error handling
packages/core— Bitran types, schemas and DOMpackages/transpiler— text → (parse) → DOM → (stringify) → textpackages/renderer-vue— rendering DOM with Vue framework
- Fork
bitran-js/bitranrepository to your GitHub account and then clone it to your local device - Install Bun if you does not have it already
- Run
bun installand thenbun run build
Now the project is ready for your edits!
