Trevor Buckner
eac87b65d8
Update tests and custom link renderer
...
v15 changes where html gets escaped and escapes plain text more consistently. Needed to update tests to match.
2025-03-26 19:26:20 -04:00
Víctor Losada Hernández
e3a7e1f403
Merge branch 'master' into issue_3659
2025-03-22 16:39:49 +01:00
Víctor Losada Hernández
f076e05f49
js files
2025-03-18 19:46:11 +01:00
G.Ambatte
a705e3b9d8
Change : from br to div class='blank'
2025-03-18 09:54:27 +13:00
David Bolack
d55a6cfd88
Merge branch 'issue_3659' of github.com:dbolack-ab/homebrewery into issue_3659
2025-03-14 19:52:10 -05:00
David Bolack
a960299612
Merge branch 'master' into issue_3659
2025-03-14 19:50:32 -05:00
Trevor Buckner
20baa9984f
Cleanup
2025-03-06 11:13:39 -05:00
Trevor Buckner
21f1704626
Update to Marked v14
2025-03-05 15:40:14 -05:00
David Bolack
7f128b0dae
Merge branch 'master' into issue_3659
2025-03-05 12:16:47 -06:00
Trevor Buckner
762cd58d52
Update usage of Marked-extended-tables options
2025-03-05 10:49:46 -05:00
Trevor Buckner
758b508955
Merge pull request #4058 from naturalcrit/Change_Hardbreak_-_to_-br-
...
Change hardbreak to `<br>`
2025-02-19 16:25:54 -05:00
Trevor Buckner
578a8d7eba
Add \n after each <br>
2025-02-19 16:00:37 -05:00
Trevor Buckner
f5aa37bd5e
Change Marked extension to emit <br> instead of <div class="blank">
2025-02-17 15:08:47 -05:00
David Bolack
11396389ab
Move Superscript/Subscript functions into their own module
2025-02-10 20:47:17 -06:00
David Bolack
b1ff68c3b1
Update code to use helper function to ensure unifrom normalization of Variable labels.
2025-01-31 16:23:32 -06:00
David Bolack
f1eb6e1ce4
Alter varCallInline content to alig with preceeding varDefBlock in inline definitions.
...
This was failing due to both labels having the extraneous spaces cleaned up but the variable label portion of the varCallInline did not, preventing them from being matched during variable resolution.
2025-01-28 21:31:43 -06:00
Trevor Buckner
8e99d47869
Parse mustache "style" properties into object instead of string
2025-01-23 00:54:07 -05:00
Trevor Buckner
2a9945f09f
Extract common function to merge HTML tags
2025-01-21 16:14:36 -05:00
Víctor Losada Hernández
f7b36a9b05
Merge branch 'master' into justifiedParagraphs
2025-01-17 19:04:48 +01:00
David Bolack
d4f6c329b8
Add a test!
2025-01-15 17:36:18 -06:00
David Bolack
aafc6fad7d
Implement suggested fix for 3488
...
Per issue
2025-01-14 21:40:15 -06:00
David Bolack
f71850d8b1
Merge branch 'master' into justifiedParagraphs
2024-12-20 14:55:30 -06:00
Trevor Buckner
adb1db1d3c
Revert one more regex change
2024-12-20 15:39:57 -05:00
David Bolack
50fcffb253
Revert exclusion on single definition list regex
...
This permits `Term ::> Definition` to process as a single line definition list
2024-12-20 14:06:20 -06:00
David Bolack
99d3d28754
Correct end of match criteria for justified paragraph to account for end of stream
2024-12-17 21:48:11 -06:00
David Bolack
c63b6ffaf0
Add test for a pair of inline horizontal breaks
2024-12-17 21:38:32 -06:00
David Bolack
08b0f47ea2
Fix Regex for Justified paragraphs
2024-12-17 21:33:33 -06:00
David Bolack
89bd082967
Shift alignment assignment from CSS to HTML
2024-12-10 23:28:06 -06:00
David Bolack
596c4ad68d
Add Tests
2024-12-04 21:24:48 -06:00
David Bolack
b45686eb3b
Create an element for serial non-breaking spaces as proposed in V4 discussion
2024-11-23 11:18:44 -06:00
David Bolack
440ad516df
Add justification token testing
2024-11-22 20:39:31 -06:00
David Bolack
929469d0c0
Working feature.
2024-11-22 20:11:14 -06:00
Trevor Buckner
fb9148ada5
Site runs and all tests pass
2024-11-20 16:21:35 -05:00
Trevor Buckner
63675a46e0
Lint more things
2024-09-16 01:42:21 -04: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
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
Trevor Buckner
5894dc5a7a
Merge branch 'master' into fixVarNameAsParam-#3622
2024-08-11 21:59:58 -04:00
G.Ambatte
f58d52c4b6
Add comma to var math split regex
2024-08-10 07:54:50 +12:00