1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 09:36:18 +00:00
Commit Graph

352 Commits

Author SHA1 Message Date
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
746aab2cf6 Create a plugin and edition for tw5.com docs
By making the docs available as a plugin we make it easier for people
to fork their own copy of the docs without losing the ability to get
updates in the future (which can be done just be updating the docs
plugin)
2015-09-15 13:37:01 +01:00
Jermolene
e19617a5ce Text-slicer updates 2015-09-13 09:37:57 +01:00
Jermolene
e62778a50f Text-slicer: Make sliced documents collapsible 2015-09-12 09:41:25 +01:00
Jermolene
3592a9560b Highlight plugin: add static demo
Also clean up some coding style issues
2015-09-11 22:36:30 +01:00
Jermolene
c80db86b67 Update to v8.8.0 of highlight.js 2015-09-11 19:53:06 +01:00
Jermolene
b379ab4f87 Text-slicer: better static HTML generation 2015-09-11 13:34:01 +01:00
Jermolene
470238acbf Fixes to KaTeX v0.5.1 upgrade
I hadn’t noticed that the fonts had changed…
2015-09-09 13:56:52 +01:00
Jermolene
f405a89b28 Update to KaTeX v0.5.1 2015-09-08 10:37:33 +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
5dcb53abae Docs update for text-slicer 2015-09-03 08:54:48 +01:00
Jermolene
ad6a6f3b75 Introduce the blog plugin 2015-09-03 08:54:41 +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
b4aa895cac Text-slicer: add support for exclude filters
The exclude filter `+[tag[intro]]` will produce a document that only
includes the paragraphs with the tag “intro”. These are derived from
the paragraphs in the original document with the CSS class “intro”.
2015-09-01 09:59:23 +01:00
Jermolene
17dc21b809 Text-slicer refactoring 2015-08-31 20:32:32 +01:00
Jermolene
0be82ea7fb Text-slicer: Introduce separate static templates
Much easier to have separate sets of templates for interactive vs
static document trees
2015-08-31 19:50:56 +01:00
Jermolene
cc4bef9c0e Text-slicer: reorganise plugin shadow tiddler titles 2015-08-31 16:49:47 +01:00
Jermolene
684fbb1ee8 Update to KaTeX v0.5.0 2015-08-31 15:10:07 +01:00
Jermolene
faa32bc424 Text-slicer: Make sure hide/show gadgets hidden in preview 2015-08-31 14:54:39 +01:00
Jermolene
bc448ce1fd Text-slicer: updates
* Add warning in document tiddler toolbar if tiddler already exists
* Live preview document in new window
* Fix slicer.js bug that was preventing the list field of headings from
being filled in correctly
* Rationalise some class names
2015-08-31 14:15:44 +01:00
Jermolene
4d4181b048 Missed off last commit 2015-08-30 19:15:12 +01:00
Jermolene
4cac7b6784 Lots of enhancement to the text-slicer plugin
Now includes a special document view column on the left. Headings can
be expanded/collapsed, and tiddler titles can be inspected and renamed
via the toolbar. Clicking on an entry opens the associated tiddler. The
default tiddler view template includes a special section for tiddlers
that are part of a document
2015-08-30 19:15:04 +01:00
Jermolene
abd8201aaa Text-slicer refactoring
Substantially cleaning up the main slicer code
2015-08-29 15:23:31 +01:00
Jermolene
97979e1fb1 Text-Slicer: update docs and change default view 2015-08-28 19:40:58 +01:00
Jermolene
46087fd270 Text-slicer update
* Improved docs on the created structure
* Added support for converting CSS classes as tags
* Added display of tags within the toolbar
2015-08-28 19:13:50 +01:00
Jermolene
f443719223 Text-slicer: Add selectable output views 2015-08-17 11:16:53 -04:00
Jermolene
74bd6e8232 Remove old code
Experimental code, accidentally committed
2015-08-10 22:20:40 +01:00
Jermolene
abcb2d3a1c Text-slicer: improved generation of paragraph names 2015-08-10 20:32:30 +01:00
Jermolene
d3ca636a5b Text-slicer: switch to use tabbed internal navigation 2015-08-10 19:39:04 +01:00
Jermolene
3cfad8b044 Refactoring of text-slicer
Now we process the rendered HTML of tiddlers, which allows us to
process HTML generated by MS Word. In fact, the HTML that MS Word
generates is so awful, I’ve instead been using Mammoth to do the
conversion: https://github.com/mwilliamson/mammoth.js

Also some necessary improvements to the fake dom implementation.
2015-08-10 11:41:23 +01:00
Jermolene
b1cf0fdd68 Text-slicer tweaks
* Add site title/subtitle
* Remove proxy title tiddler used for renames when no longer used
2015-08-05 19:21:48 +01:00
Jermolene
cbbe90313b Add in-place editing for text-slicer plugin
@pmario \o/
2015-08-05 15:08:03 +01:00
Jermolene
72ed4b2673 Add renaming to text-slicer tiddler toolbar
The plan is to expose the functionality in other places, too - for
example, the edit template and the tag manager
2015-08-04 17:44:07 +01:00
Jermolene
be0ebfeeae Make the text slicer tiddler toolbar be tag-driven 2015-08-04 17:34:28 +01:00
Jermolene
535d8d6fa0 Stop using an import tiddler for text slicer
Instead we directly output the tiddlers (we keep the old code around;
later we’ll make the output mode switchable).

Also improve the icon
2015-08-04 08:04:57 +01:00
Jermolene
dd1f82c1aa Improve the text-slicer icon 2015-08-03 17:09:48 +01:00
Jermolene
898e992694 Improvements to text-slicer plugin
1. Introduce template tiddlers for the document, each tiddler, and the
tiddler toolbar
2. Move the text slicer toolbar button to the left of the edit button
3. Add a selectable toolbar, currently just containing the tiddler title
2015-08-03 15:10:35 +01:00
Jermolene
2e5c500300 Fix slice button tooltip 2015-08-03 09:13:45 +01:00
Jermolene
8b9e790e69 Improve text slicer docs 2015-08-03 09:13:36 +01:00
Jermolene
d2c14ba203 Use nested icon for text-slicer
We transclude the existing text-slicer icon on top of the hexagonal
background image.
2015-08-02 11:38:55 +01:00
Jermolene
9ec38eef32 Improve text-slicer macros
Encapsulate tiddler display so that we can detect draft tiddlers and
display them through their own template
2015-08-01 18:10:00 +01:00
Jermolene
d938c10144 Use new story object to navigate to slicer output 2015-08-01 18:09:30 +01:00
Jermolene
a4d0210f90 Use $:/TextSlicer for text-slicer output 2015-08-01 13:48:57 +01:00
Jermolene
8488a13761 Introduce text-slicer plugin and edition
A first pass at a plugin that splits formatted text into individual
tiddlers according to lists and headings.
2015-08-01 13:15:24 +01:00
Jermolene
72cf85f0d4 Restore error trapping for KaTeX rendering 2015-07-17 08:58:58 +01:00
Jermolene
f8027a3708 Fixed problem with static generation of KaTeX in the browser 2015-07-14 08:45:14 +01:00
Jeremy Ruston
c2ca1d3ed4 Merge pull request #1850 from nameanyone/master
Add publishFilter to tiddlyweb save-offline
2015-06-30 17:53:34 +01:00