1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
Commit Graph

71 Commits

Author SHA1 Message Date
Jeremy Ruston
ad25ab4c1a Fixed parsing problem
We need to recheck for the next terminator after a successful run match
to cope with the situation that the run match included the previously
found terminator match
2012-06-05 22:01:06 +01:00
Jeremy Ruston
ee7fba9297 Added support for macros with embedded content 2012-06-05 17:01:17 +01:00
Jeremy Ruston
03da553c3b Added wikitext for m- and n-dashes 2012-06-05 16:33:35 +01:00
Jeremy Ruston
ca8cf1a386 Simplified wiki link CamelCase regexp
Removed rule that made `AAaaa` be a wikilink
2012-06-05 15:19:27 +01:00
Jeremy Ruston
e85ae59fd8 Added ability to suppress external links 2012-06-05 15:14:33 +01:00
Jeremy Ruston
9ab9c9cc42 Added run rule for HTML entities 2012-06-05 15:00:55 +01:00
Jeremy Ruston
d29f4fa996 Removed extraneous indicator that the external link parser is a block parser 2012-06-05 15:00:42 +01:00
Jeremy Ruston
10fb5fd11c Added run parse for external links 2012-06-05 14:43:43 +01:00
Jeremy Ruston
55dd392fe4 Added run parser for emphasis like bold and italics 2012-06-05 14:43:31 +01:00
Jeremy Ruston
f50e025f7c Refactored run parser so that it can optionally not consume the terminator 2012-06-05 14:41:30 +01:00
Jeremy Ruston
ec342ed245 Added image rule 2012-06-04 16:13:08 +01:00
Jeremy Ruston
4f4fbbfd36 Added typed block support 2012-06-04 13:39:20 +01:00
Jeremy Ruston
537c0901e3 Fixed JavaScript line comments to be parsed as text runs 2012-06-04 13:39:10 +01:00
Jeremy Ruston
c2927eb032 Added support for unterminated runs 2012-06-04 13:38:33 +01:00
Jeremy Ruston
17c77fb3b8 Fixed element used for block code blocks 2012-06-04 12:25:08 +01:00
Jeremy Ruston
75f8abcf35 Added classes on the story macros wrapper elements 2012-06-04 12:11:18 +01:00
Jeremy Ruston
b5f5a742f4 Added support for classes on macros 2012-06-04 12:07:39 +01:00
Jeremy Ruston
7a62e6f1a4 Add quick switch for replacing old wikitext parser with the new 2012-06-02 13:19:46 +01:00
Jeremy Ruston
5276403e39 Make sure all tree nodes have an addClass method 2012-06-02 13:19:32 +01:00
Jeremy Ruston
ec933eb1b5 Completed code blocks and runs 2012-06-02 10:15:52 +01:00
Jeremy Ruston
80b2d9c9fe Ensured terminator matches take precedence over rule matches 2012-06-02 10:15:41 +01:00
Jeremy Ruston
d30b63f752 Reorganised file layout for new wikitext parser rules 2012-06-02 09:54:00 +01:00
Jeremy Ruston
1be4dc3cd9 Reorganised file layout for new wikitext parser 2012-06-02 09:53:45 +01:00
Jeremy Ruston
89b8e39f32 Added code blocks and runs 2012-06-02 09:41:21 +01:00
Jeremy Ruston
a169980a54 Fixed two bugs 2012-06-02 09:41:03 +01:00
Jeremy Ruston
a2958c5183 Refactored story tiddler JSON handling 2012-06-02 09:40:49 +01:00
Jeremy Ruston
e0725bbb52 Sort out the naming and location of shadow template tiddlers 2012-06-01 20:04:51 +01:00
Jeremy Ruston
1b5beefb8d Fixed default TW5 template 2012-06-01 18:26:55 +01:00
Jeremy Ruston
c355979ce5 Get tiddler div fields in the right order 2012-05-29 22:45:43 +01:00
Jeremy Ruston
9482717c94 Add block mode macros to tiddlytextparser
Which improves the whitespace handling for building TW2.6.x
2012-05-29 22:16:02 +01:00
Jeremy Ruston
d23fbe5ef1 Added support for TiddlyWiki old school .recipe files 2012-05-29 22:01:52 +01:00
Jeremy Ruston
3da810b2b3 Extended wiki.serializeTiddler to take a Tiddler() object as well as a title 2012-05-29 22:01:35 +01:00
Jeremy Ruston
b91ccb064b Added "prefix" filter
It selects tiddlers whose title starts with a given string
2012-05-29 22:01:07 +01:00
Jeremy Ruston
2a1b0cec00 Added "removePrefix" parameter to include macro 2012-05-29 21:59:14 +01:00
Jeremy Ruston
61936d4640 Restore further tiddler deserializers 2012-05-29 21:58:57 +01:00
Jeremy Ruston
49a3cb8ede Allow for macros and classes at both run level and block level
Involving a bit of a refactoring of the parameters to the
$tw.Tree.Macro constructor
2012-05-28 15:51:52 +01:00
Jeremy Ruston
aa4d435a67 Fixed wikitext rule for CSS classes to not erroneously match {{{ 2012-05-27 09:24:37 +01:00
Jeremy Ruston
506519b49a Switch to using the 'wikitextrule' moduletype for the new wiki text parser 2012-05-27 09:19:37 +01:00
Jeremy Ruston
5738d146e0 Amended macro mechanism so that the same wikitext rule can act as both a run rule and a block rule 2012-05-27 00:22:58 +01:00
Jeremy Ruston
9d90c8fd78 Ignore whitespace after the final block 2012-05-26 23:42:48 +01:00
Jeremy Ruston
4a9af461a6 Adding macros and prettylinks to new wikitext parser 2012-05-26 23:37:44 +01:00
Jeremy Ruston
6dae1ad35a Comment and whitespace tweaks 2012-05-26 23:37:24 +01:00
Jeremy Ruston
92353d37b2 First pass at a new wiki text parser
This one respects HTML paragraphs properly
2012-05-26 18:30:32 +01:00
Jeremy Ruston
85f1b33ef2 Docs updates 2012-05-20 18:47:11 +01:00
Jeremy Ruston
503f60f64c Comment update 2012-05-20 15:19:52 +01:00
Jeremy Ruston
bc022f2ebd Reverted to opening new tiddlers at the top of the story 2012-05-20 14:25:50 +01:00
Jeremy Ruston
5b3bdcc662 Refactoring some internal identifiers 2012-05-19 19:06:42 +01:00
Jeremy Ruston
34edb48784 A quick sweep for missing or inaccurate code comments 2012-05-19 18:23:14 +01:00
Jeremy Ruston
6a7a5a2591 JSHint-prompted tweaks 2012-05-19 15:13:17 +01:00
Jeremy Ruston
3e899d8daf Add a new scroller story view
This is the default story view
2012-05-19 12:59:16 +01:00