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
157c6dabdd
If it's a list of strings, then it should be sorted correctly.
2019-09-03 18:16:01 +01:00
f4275373d9
Update parsedown
2019-08-30 13:29:15 +01:00
0427f8818f
Mess with adding parsedown extreme, but it's not finished yet
2019-08-29 00:15:19 +01:00
38badd3c1f
[search] Add StorageBox.php as an extra data file
...
It's time to refactor the search system to use an SQLite-backed
key-value data store. It's just a shame that something designed for this
like LevelDB / RocksDB doesn't have a PHP package that we can use :-/
We can always switch later, I suppose.
2019-08-17 20:47:51 +01:00
017281375d
Bugfix: Return templates as rawHtml instead of text to avoid double-escaping rendered html
2019-03-02 22:07:58 +00:00
3dcb8b5b1e
Update parser engine to handle comments as untrusted
2019-03-02 21:59:50 +00:00
4de995761d
Fix a bunch of serenata errors
2019-03-02 13:49:12 +00:00
d6c56feb1d
Download extra files in the pseudo-module_register(), and then pack 'em in the packer
2019-03-02 13:32:12 +00:00
501d6a1c9c
Assume that the extra data directory exists in modules.
...
We can get the module registration system to automatically prepare the
requested files
2019-03-02 13:04:30 +00:00
7cd57c894f
Use a clever hack to get the file descriptor of the ZipArchive and peel the data out.
...
Not sure if it'll work yet though, as we've run into a bit of a snag
with the module loading.....
2019-03-02 12:24:11 +00:00
e93417f171
Start working on a new extra_data system, but it's not finished yet.
...
Warning: Everything's broken! If you want to use the latest master, please use the commit before this one.
2019-02-26 23:01:09 +00:00
0f79a8ec13
Bugfix new cache id system
2019-02-10 23:08:16 +00:00
a5563bb458
Add title to internal links, and refactor page cache id generation
2019-02-10 23:01:01 +00:00
08a0cf2c2e
Formatting
2019-01-05 21:44:24 +00:00
3592a132e9
Fix a bunch of bugs with the new interwiki module
2019-01-05 21:28:47 +00:00
fafd5f6f03
Bugfix: Insert missing $ sign
2019-01-05 17:55:59 +00:00
4cb1abb231
Change {{{@}}} to output a message instead of not parsing at all
2019-01-05 17:51:51 +00:00
ba324ed814
Document the internal link syntax.
...
Next up: Testing it all I think!
2019-01-05 17:48:27 +00:00
4bf7881e5c
[parser] Simplify code by removing if statement
2019-01-05 16:23:12 +00:00
c7d7de3d7e
Don't include semicolons in greedy internal links
2018-09-29 23:40:23 +01:00
10b374871f
Improve image caption help text
2018-07-01 20:56:08 +01:00
1f190da2df
Make orphan pages list use page-list statistic type
...
Also add count to page-list
2018-04-28 11:06:23 +01:00
72825f8755
Sort orphan pages statistic in the right direction
2018-04-28 11:01:57 +01:00
de61612b18
Add most linked-to pages statistic
2018-04-28 10:59:08 +01:00