1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 19:23:29 +00:00
Commit Graph

34 Commits

Author SHA1 Message Date
Jermolene
f0b7c9a3d5 TextSlicer: Fix external links 2018-05-17 18:30:21 +01:00
Jermolene
7534a97518 Text-slicer: Add support for hyperlinks 2018-01-30 11:06:50 +00:00
Jermolene
ab2ac78620 Text-slicer: Tweaks to linear slice rules 2018-01-24 20:57:39 +00:00
Jermolene
55d7f43f0c Text-slicer: Add support for discarding the content of an element 2018-01-24 12:01:56 +00:00
Jermolene
293c2fce07 Text-Slicer: Fix issue with single quotes in the base tiddler title 2018-01-11 13:47:21 +00:00
Jermolene
92870c0b2d Text-slicer: Retain text outside paragraphs 2018-01-11 12:43:24 +00:00
Jermolene
413894e3e7 Text-slicer: Add new slicer rules for linear chunking
In this configuration there is no weaving together by hierarchical heading; the document is just a linear list of paragraphs.
2018-01-04 16:06:08 +00:00
Jermolene
50950d8143 Text-slicer: Switch to loose mode
So that non-XML entities work.
2018-01-04 16:02:58 +00:00
Jermolene
a7a3748bca Text-slicer: Add primitive support for escaping wikitext 2018-01-04 16:02:18 +00:00
Jermolene
47d065b239 Text-slicer: Fix title of document tiddler
For compatibility with the previous version, we ensure that the document tiddler ends up with the base tiddler title.
2017-12-21 22:15:00 +00:00
Jermolene
642a6505a1 Text-slicer: Fix image URLs 2017-12-21 22:14:08 +00:00
Jermolene
e344c38349 Major updates to text-slicer plugin
* In the interests of performance and expressiveness, switched to using a Sax parser instead of a DOM implementation.
* Use extensible declarative rules to control the slicing process
* Added new optional set of rules for slicing by heading, where the paragraphs underneath a heading are packed into the same tiddler as the heading
* Added a modal dialogue for specifying parameters when slicing in the browser
2017-12-14 14:16:54 +00:00
Jermolene
d9fd722e50 Text-slicer: Improve image support
Previously we only worked with base64 data URI images; now we work with
relative URLs as well.
2017-02-07 11:05:08 +00:00
Jermolene
a1a4bf0f9d Refactoring the slicer engine for easier reuse 2016-12-22 17:46:42 +00:00
Jermolene
8e02bde938 Refinements to 87fa7f972c 2016-10-18 16:39:18 +01:00
Jermolene
c5ac10024b Text-slicer: Fix issue with missing destination title 2016-05-11 11:13:15 -06:00
Jermolene
7498989ebb Text-slicer: better support for specifying the output title
Can be specified directly, or taken from a field of the tiddler being
sliced, falling back to a default.
2016-02-27 12:25:48 +00:00
Jermolene
46800d790a Text-slicer: Add list-children filter operator
Again, I needed this for the day job. @felixhayashi I think you
submitted a pull request for something similar, would this version meet
your needs?
2016-02-05 18:46:01 +00:00
Jermolene
c98ef97d23 Text-slicer: Use xmldom plugin so we can slice under Node.js 2016-02-01 21:34:28 +00:00
Jermolene
b8aa60cdab Text-slicer: Fix bug with nodes without a classname 2016-02-01 21:22:55 +00:00
Jermolene
3a10bfe0de Text-slicer: copy document fields from source tiddler
User-defined fields of the source tiddler are copied across to the
document tiddler when it is sliced.
2016-02-01 20:16:45 +00:00
Evolena
717e9ae913 Better wording and naming 2015-10-24 12:01:43 +02:00
Evolena
0a220a09da Text-slicer: Add support for definition lists 2015-10-14 20:25:11 +02:00
Jermolene
21175012dc Text-slicer: Fixes for images 2015-09-18 19:45:34 +01:00
Jermolene
e2d63a03b2 Text-slicer: Improvements to image handling 2015-09-17 19:41:41 +01:00
Jermolene
1fef272388 Text-slicer: starting to support images 2015-09-17 08:41:21 +01:00
Jermolene
7b8cb928cf Text-slicer: initial support for anchors 2015-09-16 18:59:03 +01:00
Jermolene
5dbaf187f1 Text-slicer: more refactoring 2015-09-15 13:37:12 +01:00
Jermolene
b379ab4f87 Text-slicer: better static HTML generation 2015-09-11 13:34:01 +01:00
Jermolene
026c84197f Text-Slicer: Support folding and fix bug with filter for retrieving list contents 2015-09-07 17:01:11 +01:00
Jermolene
f0a655d8b2 Text-slicer: Switch from weaving with tags to lists alone
Many reasons:
* to allow subtrees to be grafted more easily
* to keep the tags for an entry clean by removing structural tags and
leaving the semantic tags
* to avoid the duplication of expressing the same relationship through
both the tags and list fields
2015-09-04 09:05:33 +01:00
Jermolene
4ea5dce284 Text-slicer improvements
1. Switch from using the text field of lists for storing the associated
filter to using the field `toc-list-filter` (to make it harder to
accidentally parse the text of an ordinary tiddler as a filter)
2. Fix several bugs
2015-09-04 08:42:07 +01:00
Jermolene
c4244e8f04 Text-slicer improvements
# Allow the slicer to be used as a command
# Sort the document preview column
2015-09-01 17:25:45 +01:00
Jermolene
cc4bef9c0e Text-slicer: reorganise plugin shadow tiddler titles 2015-08-31 16:49:47 +01:00