3f76c64b82
Make PeppermintParsedown::extract_page_names more multibyte safe to avoid empty statistics
2022-04-24 14:38:21 +01:00
bf2d797d92
oneboxing: change to use [[[triple square brackets]]]
...
This is because for some reason when extending Parsedown to add a new
block type for [[internal links]] to detect oneboxing means that it's
impossible to tell if we're inside e.g. a bulleted list or not :-/
2022-03-17 03:20:21 +00:00
434abdf29f
Add initial simple oneboxing support
2022-03-12 02:52:53 +00:00
ae4d03da17
Bugfix: Banish erroneous additional entries in complex tables of contents
2022-02-18 23:59:42 +00:00
334b928c1e
Add initial support for embedding videos from YouTube, Vimeo, etc
2022-02-07 02:46:47 +00:00
75e2abce0f
parser-parsedown: fix typo in help
2022-01-30 02:36:48 +00:00
26f5838ce0
Add experimental [display text](./Page Name.md) style internal links
...
This is transparently handled by a wrapper around inlineLink, which
conditionally bails by returning the parent if parsing fails. It then
~~ab~~uses inlineInternalLink to provide proper internal link support.
Fixes #190 .
2021-04-11 21:47:41 +01:00
cfd087d919
Add MPL 2.0 short header to core code files
2020-09-23 23:22:39 +01:00
b30d70927b
parser-parsedown: bump version
2020-08-18 13:52:44 +01:00
c2e4a04778
Fix #209
2020-08-18 13:49:16 +01:00
272fdea0ee
parser-parsedown: tweak help again
2020-08-09 17:11:12 +01:00
9a0b2d6ba7
parser-parsedown: improve heading id documentation
2020-08-09 13:04:29 +01:00
3b799cbcba
parser-parsedown: fix templating
2020-08-08 01:54:10 +01:00
bbb3fc32ee
parser-parsedown: Add quick reference points in comments
2020-08-08 00:56:16 +01:00
b25c144f1e
Bump module versions
2020-08-06 15:29:15 +01:00
e3e2a01435
Improve PDF preview when embedded in pages - fixes #202
2020-08-06 15:28:24 +01:00
79ddc234d2
Bugfix: Squash warning when determining language in the fenced code block extensions
2020-06-04 01:42:29 +01:00
6c11ef4957
parser: add id to automatic table of contents heading
2020-05-23 23:00:46 +01:00
262e0eaadd
pser: fix issues in help text
2020-05-23 22:43:32 +01:00
eecdfa535b
pser: add super/sub script syntax to help text
2020-05-23 22:41:43 +01:00
52e25a16a7
parser: update help text
2020-05-23 22:37:42 +01:00
9a4467bc9f
parser/table of contents: ensure [__TOC__] is on a line by itself
2020-05-23 22:30:12 +01:00
2b7add3f4f
parser: add table fo contents support
2020-05-23 22:28:33 +01:00
c4d0cc42d7
parser: make internal link syntax non-greedy. Why the heck was it working before?
...
I guess we'll never know......
2020-05-23 20:40:30 +01:00
48567a96a8
parser: Add spoiler syntax, and fix regexes for other inline extensions
2020-05-23 20:38:01 +01:00
764680b3c3
parser-parsedown: Add sub/superscript
2020-05-23 18:44:55 +01:00
69cbda5e79
parser-parsedown: add marked text support
...
Also update help text
2020-05-23 12:57:04 +01:00
04bb67f505
Fiddle with parsedown versions, remove ParsedownExtreme, and add our own checkbox implementation
2020-05-23 02:06:59 +01:00
8278cd052b
parser-parsedown: add markdown support to image captions
2020-04-21 21:56:31 +01:00
0b305795ee
Merge pull request #185 from SeanFromIT/master
...
updating internal link ordering docu
2020-04-21 15:04:13 +01:00
f6a7495ce5
Bugfix: Replace newline characters in internal links with spaces - fixes #186
2020-04-21 15:00:54 +01:00
Sean Feeney
7d63f54077
updating internal link ordering docu
2020-04-19 17:12:21 -07:00
52fcd6a44a
Bugfix: Update Parsedown to squash bugs in PHP 7.4
2019-12-23 21:53:22 +00:00
729af8205d
Add documentation on external renderers
2019-10-26 15:19:05 +01:00
34a86dbaec
Fix insert
2019-10-26 12:27:09 +01:00
5b89e6549e
Add note to parsedown help
2019-10-26 12:24:56 +01:00
f044d25f7e
Add output_classes property to external renderer, and new .invert-when-dark class in theme
...
ABC Notation & Server-Side Latex look good naow! :D
2019-10-25 12:12:57 +01:00
657213c11c
Bugfix: Nest external rendered images inside a <p> to make them block-level
2019-10-25 00:16:08 +01:00
bba614df2f
Add setting to disallow anonymous users from invoking the external renderer on new input
2019-10-24 21:08:18 +01:00
b75ad067eb
Add file & substitution_pipe support.
...
Also use nomnoml in SVG mode instead of nomnoml-cli, because the latter
is a pain to build.
2019-10-24 20:13:03 +01:00
0744498570
Bugfix: Clean up correctly if the external renderer burps
...
This is especialyl important for the exteernal renderer cache directory,
which is assumed to contain exclusively valid rendered outputs.
2019-10-21 00:41:14 +01:00
b7cb9741de
Implement backend. That went better than expected!
...
We should test it thoroughly to make sure it functions as expected.
2019-10-21 00:31:18 +01:00
fe4071fe05
Add setting to disable external renderer support
2019-10-20 22:00:52 +01:00
9d2be94f64
Start writing backend ext_renderer, but it's not finished yet.
2019-10-20 21:54:00 +01:00
6d19af2e1b
Refactor errorimage into core & greatly improve it
2019-10-20 21:42:13 +01:00
ca6546677b
Add initial external diagram renderer support, but we are missing the backend.
2019-10-20 20:54:50 +01:00
209122fabd
Style code blocks (todo: test them in light mode)
2019-10-20 18:05:57 +01:00
30cbca1b13
Remove debug statement
2019-10-20 17:53:21 +01:00
bdd2449ab5
Add automatic heading id if you don't specify one
2019-10-20 16:44:32 +01:00
8d9491cb55
Bugfix: Fix footnote rendering (thanks again, @SeanFromIT!)
2019-09-21 11:35:50 +01:00