syntax highlighting for @magic
npm install --save-exact @magic-modules/pre
// in any component view
const component = {
View: () => Pre('const name = true'),
}
first commit
use @magic npm org for dependency installs, instead of github
- require node 13.5.0
- except array as input
better string, comment and link handling.
fix comment indents
cleanup.
- do not error on empty lines
- convert to Modules, no more lib functions.
- lib now exports keywords, builtins, booleans, regexes
- bump required node version to 14.2.0
- no empty strings in keywords and builtins
always textAlign: left
bump required node version to 14.15.4
- update dependencies
- test html
- handle multiple strings in one line
- change some styles
- handle lines config parameter correctly
- update dependencies
...