Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1e19580
Parser update
borgar Mar 13, 2021
e581bb8
Use ABBR since ACRONYM is deprecated
borgar Mar 14, 2021
9e25f35
Added tests
borgar Mar 14, 2021
5317ede
Modernized the code
borgar Mar 28, 2021
0602531
Update all packages and fix lint problems
borgar Mar 28, 2021
53a12b8
Code lint and crud fixes
borgar Mar 28, 2021
e911731
Add textile comments to the tree but keep them hidden
borgar Mar 28, 2021
671451d
Remove garbage comment
borgar Mar 28, 2021
01df600
Finished source offset support for HTML elements
borgar Apr 2, 2021
56115e7
Remove {} fences
borgar Apr 21, 2021
72196f8
Renamed Flow->Block and Phrase->Inline
borgar Apr 21, 2021
212a150
Wrap extended blocks in an extended node
borgar Apr 21, 2021
c402299
Stricter matching for lang attributes
borgar Apr 21, 2021
2e1f2bc
Token end postions
borgar Apr 25, 2021
f587e86
Remove unused null offset from node pos.
borgar Apr 25, 2021
8371bc0
Conform footnote handling to PHP v4
borgar Apr 26, 2021
f38cc79
Support MediaWiki style definition list syntax
borgar Apr 26, 2021
281286f
Add tests for def-lists source indexes
borgar May 3, 2021
2edd9f9
translating offsets to lines needs to be done differently as source o…
borgar May 4, 2021
6b75fda
Add support for endnotes
borgar May 5, 2021
2434a1b
Simpler code
borgar May 5, 2021
871382a
Disallow emitting link URI that have unsafe protocols
borgar May 5, 2021
01b5c2f
HTML is processed same as regular textile
borgar May 7, 2021
42843f7
Support ID prefixing
borgar May 7, 2021
f85f5bc
Upper case should not default HTML parsing or XSS
borgar May 7, 2021
88f91fa
Update re to a class to prevent pattern bleed
borgar Jun 11, 2021
3f29341
Support all regexp flags in Re
borgar Jun 12, 2021
1520ac7
Glyph conversions rewritten
borgar Jun 12, 2021
fa800f5
Updated package dependencies
borgar Jun 12, 2021
8e51d77
Remove npm commands that don't do anything
borgar Jun 12, 2021
308c3f5
Don't inline-linebreak if whitespace follows the newline
borgar Aug 6, 2023
fa68982
Add _* to npmignore
borgar Sep 7, 2023
5e6e149
Update deps and re-lint repo
borgar Sep 7, 2023
1293c01
Adding types and docs as well as a few minor things
borgar Sep 8, 2023
d3919d0
Update web editor
borgar Sep 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"presets": [
[
"@babel/preset-env", {
loose: true,
}
]
]
}

4 changes: 4 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
>0.25%
not ie 11
not dead
not op_mini all
33 changes: 19 additions & 14 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
{
extends: [ '@borgar/eslint-config' ],
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
"extends": [
"@borgar/eslint-config",
"@borgar/eslint-config/jsdoc"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
},
rules: {
'import/export': 'error',
'import/no-unresolved': 'error',
'no-use-before-define': 'error'
"rules": {
"import/export": "error",
"import/no-unresolved": "error",
"no-use-before-define": "error",
"no-mixed-operators": "off",
"no-multiple-empty-lines": [ "error", { "max": 2, "maxBOF": 0, "maxEOF": 1 }]
},
globals: {
require,
module,
exports
"globals": {
"require",
"module",
"exports"
},
plugins: [
'import'
"plugins": [
"import"
]
}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
_*
docs
bin
test
Expand Down
Loading