1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 11:29:58 +00:00
TiddlyWiki5/plugins/tiddlywiki/text-slicer/docs/docs-usage.tid

20 lines
647 B
Plaintext
Raw Normal View History

title: $:/plugins/tiddlywiki/text-slicer/docs/usage
tags: $:/plugins/tiddlywiki/text-slicer/docs
caption: Usage
The tool can slice any tiddler that can be rendered as HTML, including both WikiText and HTML itself.
Documents created with Microsoft Word will need to be first converted to HTML. The library [[mammoth.js|https://github.com/mwilliamson/mammoth.js]] is recommended for this purpose.
!! Browser
In the browser, you can slice a monolithic document tiddler using the slicer toolbar button.
!! Node.js
The `--slice` command allows a tiddler to be sliced under Node.js:
```
tiddlywiki mywiki --slice SourceDocument --build index
```