1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-05 09:36:18 +00:00
TiddlyWiki5/plugins/tiddlywiki/text-slicer/modules/rules/html-linear.tid
2018-01-30 11:06:50 +00:00

62 lines
1.1 KiB
Plaintext

title: $:/plugins/tiddlywiki/text-slicer/slicer-rules/html-linear.json
name: html-linear
caption: Linear (HTML)
description: One tiddler per paragraph in a single linear thread (HTML)
type: application/json
tags: $:/tags/text-slicer/slicer-rules
[
{
"selector": "li > p",
"actions": {
"dontRenderTag": true
}
},
{
"selector": "p",
"actions": {
"startNewChunk": {
"toc-type": "paragraph"
},
"dontRenderTag": true
}
},
{
"selector": "a",
"actions": {
"isAnchor": true
}
},
{
"selector": "address,blockquote,center,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,hr,iframe,isindex,noframes,noscript,ol,pre,table,ul",
"actions": {
"startNewChunk": {
"toc-type": "paragraph"
}
}
},
{
"selector": "br,caption,code,col,colgroup,em,i,dd,li,strike,strong,b,sub,sup,u,tbody,td,tfoot,th,thead,tr",
"actions": {
}
},
{
"selector": "img",
"actions": {
"isImage": true
}
},
{
"selector": "head",
"actions": {
"dontRenderTag": true,
"discard": true
}
},
{
"selector": "*",
"actions": {
"dontRenderTag": true
}
}
]