2018-01-04 16:06:08 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
[
|
|
|
|
{
|
2018-01-24 12:01:56 +00:00
|
|
|
"selector": "li > p",
|
|
|
|
"actions": {
|
|
|
|
"dontRenderTag": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"selector": "p",
|
2018-01-04 16:06:08 +00:00
|
|
|
"actions": {
|
|
|
|
"startNewChunk": {
|
|
|
|
"toc-type": "paragraph"
|
2018-01-24 12:01:56 +00:00
|
|
|
},
|
|
|
|
"dontRenderTag": true
|
2018-01-04 16:06:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-01-24 12:01:56 +00:00
|
|
|
"selector": "address,blockquote,center,dl,dt,fieldset,form,h1,h2,h3,h4,h5,h6,hr,iframe,isindex,noframes,noscript,ol,pre,table,ul",
|
2018-01-04 16:06:08 +00:00
|
|
|
"actions": {
|
2018-01-24 12:01:56 +00:00
|
|
|
"startNewChunk": {
|
|
|
|
"toc-type": "paragraph"
|
|
|
|
}
|
2018-01-04 16:06:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-01-24 12:01:56 +00:00
|
|
|
"selector": "code,em,i,dd,li,strike,strong,b,sub,sup,u",
|
2018-01-04 16:06:08 +00:00
|
|
|
"actions": {
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2018-01-24 12:01:56 +00:00
|
|
|
"selector": "img",
|
2018-01-04 16:06:08 +00:00
|
|
|
"actions": {
|
2018-01-24 12:01:56 +00:00
|
|
|
"isImage": true
|
2018-01-04 16:06:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"selector": "*",
|
|
|
|
"actions": {
|
2018-01-24 12:01:56 +00:00
|
|
|
"dontRenderTag": true,
|
|
|
|
"discard": true
|
2018-01-04 16:06:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|