Víctor Losada Hernández
c7f695e86a
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-08-31 19:21:06 +02:00
Trevor Buckner
804d714473
Add regex to detect when to interrupt a table
2024-08-29 00:20:47 -04:00
Víctor Losada Hernández
5e69718f4f
Merge branch 'master' into imageWrappin
2024-08-23 23:30:37 +02:00
Víctor Losada Hernández
987d1c881b
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into Issue_1430_Unique_HeaderIDs
2024-08-23 23:08:20 +02:00
Trevor Buckner
fc294807fd
Merge branch 'master' into imageWrappin
2024-08-22 22:10:11 -04:00
Trevor Buckner
eeedc5f7d4
Merge branch 'master' into preservePREColons
2024-08-22 21:53:16 -04:00
Trevor Buckner
fff357d08b
Make 'block-level' extension. Tweaks to pass new tests
...
'block-level' because it never occurs inside another block ('inline-level' always occurs inside something else); starts and stops on on its own line without anything else on the same line.
2024-08-22 21:52:40 -04:00
Trevor Buckner
696bcd4367
Expose src url in --HB_src
...
Decided to do this for *all* images, not just those being injected. In case someone wants to automatically apply wrapping to images inside a stat block, etc.
2024-08-22 12:46:56 -04:00
Trevor Buckner
645c9a122c
Update cleanURL helper function to match later Marked version
2024-08-22 11:51:24 -04:00
David Bolack
1c03138968
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-21 21:23:09 -05:00
David Bolack
1313772adc
Merge branch 'master' into preservePREColons
2024-08-21 21:21:06 -05:00
David Bolack
e957f40775
Revert previous simplification as it breaks the original purpose of this PR
...
Added test for inside a code block.
2024-08-20 12:17:51 -05:00
David Bolack
3985afade9
Remove need for Definition exceptios
...
Retool original `:` break to insert `\n\n`s between each `:` so that
the definition lists never have a chance for a mismatch.
Rename token to "hardbreak"
Add tests for hardBreaks for `:`, `::`, and `:::` which should verify it works and does not collide with definitionlists.
2024-08-20 11:46:43 -05:00
David Bolack
3a81521e6f
Work around users using Definition lists as paragraph indents.
2024-08-19 19:40:55 -05:00
David Bolack
a30608a8ae
Promote : paragraph breaks shortcut to a token.
2024-08-19 10:36:26 -05:00
David Bolack
184f182b3a
Short term fix for the colons in codeblocks issue.
2024-08-18 21:52:29 -05:00
David Bolack
52faa366ca
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-08-13 12:30:16 -05:00
David Bolack
1ed7e43db1
Implement G-Ambette's cleaner fix.
2024-08-13 12:09:45 -05:00
Víctor Losada Hernández
e4852b7077
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-08-13 00:47:25 +02:00
Trevor Buckner
5894dc5a7a
Merge branch 'master' into fixVarNameAsParam-#3622
2024-08-11 21:59:58 -04:00
Víctor Losada Hernández
59672b79d8
remove unnecessary changes in unrelated files
2024-08-10 00:05:58 +02:00
G.Ambatte
1719cc68fa
Merge branch 'master' into fixVarNameAsParam-#3622
2024-08-10 08:23:23 +12:00
G.Ambatte
f58d52c4b6
Add comma to var math split regex
2024-08-10 07:54:50 +12:00
Víctor Losada Hernández
a8a4930225
Merge branch 'experimental-development' of https://github.com/5e-Cleric/homebrewery ; branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-08-09 18:54:51 +02:00
G.Ambatte
c3e6c01ec1
Fix typo in regex
2024-08-09 15:33:28 +12:00
G.Ambatte
5bb5cdec05
Change replaceAll to use RegEx from string
2024-08-09 13:10:30 +12:00
Trevor Buckner
f1fd75574d
Merge branch 'master' into CSSFolding
2024-08-08 17:51:05 -04:00
Trevor Buckner
31352e417f
Simplify folding logic
2024-08-08 17:48:32 -04:00
Trevor Buckner
643af98ca3
Add comment
2024-08-08 17:44:16 -04:00
Trevor Buckner
3b61cd355f
Fix edge case where string was emitting data: twice.
...
Also, a case where the input is right around 50 chars. It can be truncated twice, leading to a long `.....`
2024-08-08 17:43:57 -04:00
G.Ambatte
1b71bbaefb
Remove escaping from new functions
2024-08-03 10:32:39 +12:00
G.Ambatte
fcd5279381
Enable built-in abs()
2024-08-03 10:32:18 +12:00
David Bolack
423a4a521a
Correct truncation when looking for data: in css folding
2024-08-02 15:25:41 -05:00
David Bolack
05d4d5b1ff
Revert "Correct truncation when looking for data: in css folding"
...
This reverts commit ad1e8d50d7 .
2024-08-02 15:25:10 -05:00
David Bolack
ad1e8d50d7
Correct truncation when looking for data: in css folding
2024-08-02 15:24:14 -05:00
David Bolack
c926f0de79
Resolve import matching suggestion.
2024-08-02 15:10:39 -05:00
G.Ambatte
e1fe640e92
Update shared/naturalcrit/markdown.js
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2024-08-02 07:03:27 +12:00
G.Ambatte
6f99fe7455
Update shared/naturalcrit/markdown.js
...
Co-authored-by: Trevor Buckner <calculuschild@gmail.com >
2024-08-02 07:02:57 +12:00
David Bolack
957b1ed9e7
Merge branch 'master' into CSSFolding
2024-08-01 10:09:56 -05:00
G.Ambatte
251d03b7be
Merge branch 'master' into addSignedFunction-#3537
2024-07-31 20:58:40 +12:00
Víctor Losada Hernández
51c7549b45
Merge branch 'master' of https://github.com/naturalcrit/homebrewery into experimental-development
2024-07-31 08:57:28 +02:00
David Bolack
a7f8b52966
Change default value for pageNumber on markdopwn.render()
2024-07-30 08:56:06 -05:00
David Bolack
bfd46fb6fd
Merge branch 'master' into Issue_1430_Unique_HeaderIDs
2024-07-30 08:35:12 -05:00
Trevor Buckner
8221579b6a
Linting
2024-07-28 18:03:25 -04:00
Trevor Buckner
e0425ec6c0
Simplify API call url
2024-07-28 16:47:16 -04:00
Trevor Buckner
8aa88a2e45
Add proper error popup when theme fails to load
2024-07-28 16:45:01 -04:00
Trevor Buckner
113f9b3fe3
No need to stringify Theme Bundle object
2024-07-27 02:00:38 -04:00
Víctor Losada Hernández
3e2c2de269
Added hideMoveArrows prop to split pane for use in vault
2024-07-25 23:11:51 +02:00
David Bolack
d2afa7adea
Move fetchThemeBundle into /shared/helpers
...
This might not be the best rework - I was unsure if the *this* that would be available when called would see the appropriate object so I assumed not and pass it as a parameter.
Works, but may be bad form.
2024-07-23 22:17:52 -05:00
David Bolack
2af2ad629d
Try to account for situations where the URL folding is past the max length for the truncation so the user can see why this is a fold.
...
Remove missed debug messages.
2024-07-21 12:58:21 -05:00