mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 20:09:57 +00:00
Merge branch 'tiddlywiki-com'
This commit is contained in:
commit
40138beac4
@ -1,5 +1,5 @@
|
||||
created: 20201123172925848
|
||||
modified: 20240627060629394
|
||||
modified: 20240801020629394
|
||||
tags: [[Customise TiddlyWiki]]
|
||||
title: Alternative page layouts
|
||||
type: text/vnd.tiddlywiki
|
||||
@ -23,9 +23,8 @@ This alternative page template can either be a tweaked and modified version of t
|
||||
tc-page-container tc-language-$(languageTitle)$ your-plugin-name-container
|
||||
\end
|
||||
\procedure redirected-navigate-actions()
|
||||
<$action-setfield $tiddler="$:/layout" text="" $timestamp="no">
|
||||
<$action-setfield $tiddler="$:/layout" text="" $timestamp="no" />
|
||||
<$action-navigate $to=<<event-navigateTo>> $scroll="yes" />
|
||||
</$action-setfield>
|
||||
\end
|
||||
|
||||
<$navigator story="$:/StoryList" history="$:/HistoryList" openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}>
|
||||
|
@ -1,15 +1,15 @@
|
||||
caption: compare
|
||||
created: 20200412181551706
|
||||
modified: 20200412181551706
|
||||
op-input: a [[selection of titles|Title Selection]]
|
||||
op-neg-output: those input titles <<.em not>> matching the specified comparison
|
||||
op-output: those input titles matching the specified comparison
|
||||
op-parameter: the value to compare
|
||||
op-purpose: filter the input by comparing each item against the parameter
|
||||
op-suffix: the <<.op compare>> operator uses a rich suffix, see below for details
|
||||
tags: [[Filter Operators]] [[Mathematics Operators]] [[String Operators]] [[Negatable Operators]]
|
||||
title: compare Operator
|
||||
type: text/vnd.tiddlywiki
|
||||
caption: compare
|
||||
op-purpose: filter the input by comparing each item against the parameter
|
||||
op-input: a [[selection of titles|Title Selection]]
|
||||
op-suffix: the <<.op compare>> operator uses a rich suffix, see below for details
|
||||
op-parameter: the value to compare
|
||||
op-output: those input titles matching the specified comparison
|
||||
op-neg-output: those input titles <<.em not>> matching the specified comparison
|
||||
|
||||
<<.from-version "5.1.22">>The <<.op compare>> filter allows numerical, string and date comparisons to be performed.
|
||||
|
||||
@ -21,7 +21,7 @@ The <<.op compare>> operator uses an extended syntax to specify all the options:
|
||||
|
||||
The ''type'' can be:
|
||||
|
||||
* "number" - invalid numbers are interpreted as zero
|
||||
* "number" - (default) invalid numbers are interpreted as zero
|
||||
* "integer" - invalid integers are interpreted as zero
|
||||
* "string"
|
||||
* "date" - invalid dates are interpreted as 1st January 1970
|
||||
@ -43,7 +43,7 @@ For example:
|
||||
```
|
||||
[[2]compare:number:eq[3]] returns nothing
|
||||
[[2]compare:number:lt[3]] returns "2"
|
||||
[[2]compare:number:eq[2]] returns "2"
|
||||
[[2]compare::eq[2]] returns "2"
|
||||
```
|
||||
|
||||
Note that several of the variants of the <<.op compare>> operator are synonyms for existing operators, and are provided in the interests of consistency. For example, `compare:string:eq[x]` is a synonym for `match[x]`.
|
||||
|
@ -9,3 +9,4 @@ type: text/vnd.tiddlywiki
|
||||
<<.operator-example 3 "[list[Days of the Week]compare:string:gt[M]compare:string:lt[W]]">>
|
||||
<<.operator-example 4 "[[v5.1.23-prerelease]compare:version:gt[v5.1.22]]">>
|
||||
<<.operator-example 5 "[[1]compare:number:gt[2]then[yes]else[no]]">>
|
||||
<<.operator-example 6 "[[-2]compare::lt[-1]]">>
|
||||
|
@ -1,16 +1,16 @@
|
||||
caption: list
|
||||
created: 20140410103123179
|
||||
modified: 20211115092315020
|
||||
modified: 20240811083650364
|
||||
op-input: ignored
|
||||
op-neg-input: a [[selection of titles|Title Selection]]
|
||||
op-neg-output: those input titles that are <<.em not>> mentioned at <<.place R>>
|
||||
op-output: the titles stored as a [[title list|Title List]] at <<.place R>>
|
||||
op-parameter: a [[reference|TextReference]] to a [[field|TiddlerFields]] or [[index|DataTiddlers]] of a particular tiddler
|
||||
op-parameter-name: R
|
||||
op-purpose: select titles via a list field
|
||||
tags: [[Filter Operators]] [[Field Operators]] [[Selection Constructors]] [[Negatable Operators]]
|
||||
title: list Operator
|
||||
type: text/vnd.tiddlywiki
|
||||
caption: list
|
||||
op-purpose: select titles via a list field
|
||||
op-input: ignored
|
||||
op-neg-input: a [[selection of titles|Title Selection]]
|
||||
op-parameter: a [[reference|TextReference]] to a [[field|TiddlerFields]] or [[property|DataTiddlers]] of a particular tiddler
|
||||
op-parameter-name: R
|
||||
op-output: the titles stored as a [[title list|Title List]] at <<.place R>>
|
||||
op-neg-output: those input titles that are <<.em not>> mentioned at <<.place R>>
|
||||
|
||||
<<.place R>> can reference either a field or a property. See [[TextReference]] for the syntax.
|
||||
|
||||
|
@ -9,7 +9,7 @@ type: text/vnd.tiddlywiki
|
||||
|
||||
Use it to keep your [[to-do list|TaskManagementExample]], to plan an [[essay or novel|"TiddlyWiki for Scholars" by Alberto Molina]], or to organise your wedding. Record every thought that crosses your brain, or build a flexible and responsive website.
|
||||
|
||||
TiddlyWiki lets you choose where to keep your data, guaranteeing that in the decades to come you will [[still be able to use|Future Proof]] the notes you take today.
|
||||
~TiddlyWiki lets you choose where to keep your data, guaranteeing that in the decades to come you will [[still be able to use|Future Proof]] the notes you take today.
|
||||
|
||||
!! ''Quick Start''
|
||||
|
||||
@ -19,7 +19,7 @@ TiddlyWiki lets you choose where to keep your data, guaranteeing that in the dec
|
||||
</$list>
|
||||
</div>
|
||||
<div class="tc-cards tc-small">
|
||||
<$link to="中文社区 - Chinese Community" class="tc-btn-big-green tc-card">
|
||||
<$link to="中文社区 - Chinese Community" class="tc-btn-big-green tc-card" aria-label="Chinese Community">
|
||||
中文社区<br/>Chinese Community
|
||||
</$link>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
title: Product Hunt Link
|
||||
tags: [[HelloThere Badge]]
|
||||
|
||||
<a href="https://www.producthunt.com/posts/tiddlywiki-2?utm_source=badge-top-post-badge&utm_medium=badge&utm_souce=badge-tiddlywiki-2" alt="Product Hunt: Product of the Day" target="_blank" rel="noopener noreferrer">{{ProductHunt-Badge.svg}}</a>
|
||||
<a href="https://www.producthunt.com/posts/tiddlywiki-2?utm_source=badge-top-post-badge&utm_medium=badge&utm_souce=badge-tiddlywiki-2" aria-label="Product Hunt: Product of the Day" target="_blank" rel="noopener noreferrer">{{ProductHunt-Badge.svg}}</a>
|
@ -2,3 +2,4 @@ title: Blurry Lawn.jpg
|
||||
type: image/jpeg
|
||||
tags: picture external-image
|
||||
source: https://www.flickr.com/photos/jermy/16386332964/in/photostream
|
||||
alt-text: Blurry image with green grass with flowsers.
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: Favicon template.svg
|
||||
tags: picture
|
||||
type: image/svg+xml
|
||||
alt-text: Motovun Jack with blue background.
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: Funding.png
|
||||
type: image/png
|
||||
tags: picture
|
||||
alt-text: Hand over a debit-card.
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: Grok TiddlyWiki Banner
|
||||
type: image/png
|
||||
tags: picture
|
||||
alt-text: Grok TiddlyWiki page and siluette of Motovun Jack.
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: Introduction Video Thumbnail.jpg
|
||||
type: image/jpeg
|
||||
tags: picture
|
||||
alt-text: Screenshot with a headline: TiddlyWiki. Below are several tiddlers randomly stacked.
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: TiddlyWiki Marketplace Banner
|
||||
type: image/jpeg
|
||||
tags: picture
|
||||
alt-text: Motovun Jack with a shopping cart. Blue floor, orange background.
|
||||
|
@ -1,5 +1,6 @@
|
||||
title: Motovun Jack.ascii
|
||||
tags: picture
|
||||
alt-text: Motovun Jack ASCII-art.
|
||||
|
||||
\rules only html
|
||||
<pre style="font-size:10px; font-family: monospace; line-height:13px">
|
||||
|
@ -2,3 +2,4 @@ title: Motovun Jack.jpg
|
||||
type: image/jpeg
|
||||
source: https://www.flickr.com/photos/jermy/6292279493/in/photostream
|
||||
tags: picture
|
||||
alt-text: Motovun Jack on a stone wall with treas and hills in the background.
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: Motovun Jack.pdf
|
||||
type: application/pdf
|
||||
tags: picture
|
||||
alt-text: PDF reader with Motovun Jack siluette on a white background page 1 of 1.
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: New Release Banner
|
||||
type: image/png
|
||||
tags: picture
|
||||
alt-text: Release banner, with a custom background and a release version in big letters.
|
||||
|
@ -2,3 +2,4 @@ title: Newnham Horizon.jpg
|
||||
type: image/jpeg
|
||||
tags: picture external-image
|
||||
source: https://www.flickr.com/photos/jermy/289999155/in/photostream
|
||||
alt-text: Newham Horizon. Green field, blue skey with some clouds on a sunny day.
|
||||
|
@ -2,5 +2,6 @@ created: 20240621075644739
|
||||
modified: 20240621075647009
|
||||
tags: picture
|
||||
title: Open Collective Logo
|
||||
alt-text: Open Collective Logo
|
||||
|
||||
<svg style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2" viewBox="0 0 28 28"><path d="M25.509 6.026A13.934 13.934 0 0 1 28 14c0 2.963-.92 5.71-2.491 7.974l-3.626-3.627A8.96 8.96 0 0 0 23 14a8.964 8.964 0 0 0-1.117-4.347l3.626-3.627Z"/><path d="m21.974 2.49-3.627 3.628a9 9 0 1 0 0 15.765l3.627 3.626A13.934 13.934 0 0 1 14 27.999C6.268 28 0 21.733 0 14 0 6.269 6.268 0 14 0c2.963 0 5.711.922 7.974 2.492Z"/></svg>
|
@ -1,2 +1,3 @@
|
||||
title: PerlinLight.jpg
|
||||
type: image/jpeg
|
||||
alt-text: Backgournd tile with light gray dots randomly scatterd.
|
||||
|
@ -1,4 +1,5 @@
|
||||
title: Reddit Logo
|
||||
alt-text: Reddit Logo
|
||||
|
||||
\parameters (size:"22pt")
|
||||
<svg width=<<size>> height=<<size>> viewBox="0 0 20 20">
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: TWEUM Thumbnail.jpg
|
||||
type: image/jpeg
|
||||
tags: picture
|
||||
alt-text: TW EU Meeting thumbnail. Skyline of Oxford on a sunny day with blue sky. Motovun Jack and a TiddlyWiki sceenshot in the back.
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: Tiddler Fishes.svg
|
||||
type: image/svg+xml
|
||||
tags: picture
|
||||
alt-text: 5 coloured sketched fish arranged in a cyrcle.
|
||||
|
@ -2,3 +2,4 @@ title: Tiddler Poster.png
|
||||
type: image/png
|
||||
source: https://tiddlywiki.com/poster
|
||||
tags: picture
|
||||
alt-text: Poster with a headline: Your messy thoughts. Organized. Below is an abstract Stickleback fish and tiddlywiki.com URL.
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: TiddlyFox Apocalypse.png
|
||||
type: image/png
|
||||
tags: picture
|
||||
alt-text: Motovun Jack's head with a FireFox logo over the head and a date: Nov. 14th 2017 on the left.
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: TiddlyWiki Classic.png
|
||||
type: image/png
|
||||
tags: picture
|
||||
alt-text: TiddlyWiki classic screenshto thumbnail.
|
||||
|
@ -1,3 +1,6 @@
|
||||
alt-text: Motovun Jack reads a Newsletter.
|
||||
created: 20240630093143711
|
||||
modified: 20240630094906495
|
||||
tags: picture
|
||||
title: TiddlyWiki Newsletter Badge.png
|
||||
type: image/png
|
||||
tags: picture
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: TiddlyWikiLinks
|
||||
type: image/png
|
||||
tags: picture
|
||||
alt-text: Motovun Jack body with "chain liks" around the neck.
|
||||
|
@ -1,3 +1,4 @@
|
||||
title: Tiddlyhost Logo
|
||||
type: image/png
|
||||
tags: picture
|
||||
atl-text: TiddlyHost logo.
|
@ -1,2 +1,3 @@
|
||||
type: image/svg+xml
|
||||
title: Xememex Logo
|
||||
alt-text Xememex Logo
|
||||
|
@ -1,2 +1,3 @@
|
||||
title: $:/favicon.ico
|
||||
type: image/png
|
||||
alt-text: Motovun Jack with blue background.
|
||||
|
@ -1,2 +1,3 @@
|
||||
title: $:/green_favicon.ico
|
||||
type: image/png
|
||||
alt-text: Motovun Jack with green background.
|
||||
|
@ -89,10 +89,13 @@ type: text/vnd.tiddlywiki
|
||||
\end
|
||||
|
||||
\procedure flex-card(class,bordercolor:"",backgroundcolor:"",textcolor:"",imageField:"image",captionField:"caption",subtitle:"",descriptionField:"description",linkField:"link")
|
||||
<$link class={{{ [<class>addprefix[tc-card ]] }}} to={{{ [<currentTiddler>get<linkField>else<currentTiddler>] }}}>
|
||||
<$link class={{{ [<class>addprefix[tc-card ]] }}}
|
||||
to={{{ [<currentTiddler>get<linkField>else<currentTiddler>] }}}
|
||||
aria-label=<<currentTiddler>>
|
||||
>
|
||||
<div class="tc-card-accent" style.borderTop={{{ [<bordercolor>!is[blank]addprefix[5px solid ]] }}} style.background={{!!background}} style.backgroundColor=<<backgroundcolor>> style.color=<<textcolor>> style.fill=<<textcolor>>>
|
||||
<$list filter="[<currentTiddler>has[ribbon-text]]" variable="ignore">
|
||||
<div class="tc-card-ribbon-wrapper">
|
||||
<div class="tc-card-ribbon-wrapper" aria-hidden="true">
|
||||
<div class="tc-card-ribbon" style.backgroundColor={{{ [<currentTiddler>get[ribbon-color]else[red]] }}}>
|
||||
<div class="tc-card-ribbon-inner">
|
||||
<$text text={{!!ribbon-text}}/>
|
||||
@ -102,7 +105,9 @@ type: text/vnd.tiddlywiki
|
||||
</$list>
|
||||
<$list filter="[<currentTiddler>has<imageField>]" variable="ignore">
|
||||
<div class="tc-card-image">
|
||||
<$image source={{{ [<currentTiddler>get<imageField>] }}}/>
|
||||
<$image source={{{ [<currentTiddler>get<imageField>] }}}
|
||||
alt={{{ [<currentTiddler>get<imageField>get[alt-text]else[Image.]] }}}
|
||||
/>
|
||||
</div>
|
||||
</$list>
|
||||
<div class="tc-card-title"><$transclude field=<<captionField>>><$view field="title"/></$transclude></div>
|
||||
|
@ -0,0 +1,9 @@
|
||||
caption: $:/tags/ControlPanel/SettingsTab
|
||||
created: 20240813060717747
|
||||
description: marks elements to be placed under "Settings" tab in Control Panel
|
||||
modified: 20240813060843043
|
||||
tags: SystemTags
|
||||
title: SystemTag: $:/tags/ControlPanel/SettingsTab
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
The [[system tag|SystemTags]] `$:/tags/ControlPanel/SettingsTab` marks elements to be placed under "Settings" tab in [[$:/ControlPanel]]
|
@ -0,0 +1,30 @@
|
||||
created: 20240713164810184
|
||||
description: Block mode for table cells
|
||||
modified: 20240713164810184
|
||||
tags: $:/tags/wiki-test-spec
|
||||
title: TestCases/HTML/BlockModeInHTMLTable
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
|
||||
title: Narrative
|
||||
|
||||
Unlike the table wiki syntax, the less convenient `<table>`, `<tr>`, `<td>` html tags can use a blank line
|
||||
to get block mode punctuation regognised inside of table cells.
|
||||
+
|
||||
title: Output
|
||||
|
||||
<table>
|
||||
<tr><td>
|
||||
|
||||
* list item one
|
||||
* list item two
|
||||
</td><td>
|
||||
|
||||
|nested|table|
|
||||
</td></tr>
|
||||
</table>
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
<p><table>
|
||||
<tr><td><ul><li>list item one</li><li>list item two</li></ul></td><td><table><tbody><tr class="evenRow"><td>nested</td><td>table</td></tr></tbody></table></td></tr>
|
||||
</table></p>
|
@ -0,0 +1,23 @@
|
||||
created: 20240622142425004
|
||||
description: Blank line after open tag
|
||||
modified: 20240622144230258
|
||||
tags: $:/tags/wiki-test-spec
|
||||
title: TestCases/HTML/OpenTagBlankLine
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
|
||||
title: Narrative
|
||||
|
||||
A blank line after an open html tag allows block mode punctuation to be recognised
|
||||
+
|
||||
title: Output
|
||||
|
||||
<div>
|
||||
|
||||
* blank line after open tag allows
|
||||
* block mode punctuation (i.e. this list) to
|
||||
* be recognised
|
||||
</div>
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
<div><ul><li>blank line after open tag allows</li><li>block mode punctuation (i.e. this list) to</li><li>be recognised</li></ul></div>
|
@ -0,0 +1,22 @@
|
||||
created: 20240622144038465
|
||||
description: Blank line after open tag in bold syntax
|
||||
modified: 20240622145114506
|
||||
tags: $:/tags/wiki-test-spec
|
||||
title: TestCases/HTML/OpenTagBlankLineInBoldSyntax
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
|
||||
title: Narrative
|
||||
|
||||
A blank line after an open html tag allows block mode punctuation to be recognised even when the html is embedded within inline punctuation (bold here).
|
||||
+
|
||||
title: Output
|
||||
|
||||
''<div>
|
||||
|
||||
* list item one
|
||||
* list item two
|
||||
</div>''
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
<p><strong><div><ul><li>list item one</li><li>list item two</li></ul></div></strong></p>
|
@ -0,0 +1,22 @@
|
||||
created: 20240622144753311
|
||||
description: Blank line after open tag in table syntax
|
||||
modified: 20240622145056299
|
||||
tags: $:/tags/wiki-test-spec
|
||||
title: TestCases/HTML/OpenTagBlankLineInTableSyntax
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
|
||||
title: Narrative
|
||||
|
||||
A blank line after an open html tag cannot work when used inside table syntax since each row of a table must be all on one line
|
||||
+
|
||||
title: Output
|
||||
|
||||
|For a blank line after open tag|<div>
|
||||
|
||||
* list is recognised
|
||||
* but the surrounding table row is not
|
||||
</div>|
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
<p>|For a blank line after open tag|<div><ul><li>list is recognised</li><li>but the surrounding table row is not</li></ul></div>|</p>
|
@ -0,0 +1,34 @@
|
||||
created: 20240622143533021
|
||||
description: No blank line after open tag
|
||||
modified: 20240622145145440
|
||||
tags: $:/tags/wiki-test-spec
|
||||
title: TestCases/HTML/OpenTagNoBlankLine
|
||||
type: text/vnd.tiddlywiki-multiple
|
||||
|
||||
title: Narrative
|
||||
|
||||
Block mode punctuation is not recognised when HTML open tag is not followed by a blank line
|
||||
+
|
||||
title: Output
|
||||
|
||||
<div>
|
||||
* Open tag without a blank line means
|
||||
* block mode punctuation (i.e. this list) will
|
||||
* NOT be recognised.
|
||||
|
||||
Paragraphs are only recognised in block mode. Even with blank lines, new paragraphs are not recognised.
|
||||
|
||||
This also is not a new paragraph.
|
||||
</div>
|
||||
+
|
||||
title: ExpectedResult
|
||||
|
||||
<p><div>
|
||||
* Open tag without a blank line means
|
||||
* block mode punctuation (i.e. this list) will
|
||||
* NOT be recognised.
|
||||
|
||||
Paragraphs are only recognised in block mode. Even with blank lines, new paragraphs are not recognised.
|
||||
|
||||
This also is not a new paragraph.
|
||||
</div></p>
|
@ -1,6 +1,6 @@
|
||||
caption: codeblock
|
||||
created: 20151103160200000
|
||||
modified: 20160817175325205
|
||||
modified: 20240809074611002
|
||||
tags: Widgets
|
||||
title: CodeBlockWidget
|
||||
type: text/vnd.tiddlywiki
|
||||
@ -22,7 +22,7 @@ The content of the `<$codeblock>` widget is ignored.
|
||||
|
||||
The `language` attribute accepts either:
|
||||
|
||||
* a Highlight.js language code (see https://highlightjs.org/static/demo/ for a list)
|
||||
* a Highlight.js language code (see https://highlightjs.org/demo for a list)
|
||||
* a MIME type (eg, `text/html` or `image/svg+xml`)
|
||||
|
||||
! Examples
|
||||
|
@ -1,38 +1,20 @@
|
||||
created: 20220122153235162
|
||||
modified: 20220122180508134
|
||||
modified: 20240713165558596
|
||||
tags: [[WikiText parser mode transitions]]
|
||||
title: WikiText parser mode: HTML examples
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
<<wikitext-example-without-html "<div>
|
||||
|
||||
* blank line after open tag allows
|
||||
* block mode punctuation (i.e. this list) to
|
||||
* be recognised
|
||||
</div>
|
||||
">>
|
||||
<<testcase TestCases/HTML/OpenTagBlankLine>>
|
||||
|
||||
---
|
||||
|
||||
The open tag blank line "trick" also works inside of punctuation only recognised in inline mode (such as [[Formatting in WikiText]]):
|
||||
|
||||
<<wikitext-example-without-html "''<div>
|
||||
|
||||
* list item one
|
||||
* list item two
|
||||
</div>''">>
|
||||
<<testcase TestCases/HTML/OpenTagBlankLineInBoldSyntax>>
|
||||
|
||||
---
|
||||
|
||||
<<wikitext-example-without-html "<div>
|
||||
* Open tag without a blank line means
|
||||
* block mode punctuation (i.e. this list) will
|
||||
* NOT be recognised.
|
||||
|
||||
Paragraphs are only recognised in block mode. Even with blank lines, new paragraphs are not recognised.
|
||||
|
||||
This also is not a new paragraph.
|
||||
</div>">>
|
||||
<<testcase TestCases/HTML/OpenTagNoBlankLine>>
|
||||
|
||||
---
|
||||
|
||||
@ -42,11 +24,7 @@ Adding a blank link after an open tag within a table cell causes the row to span
|
||||
|
||||
<<wikitext-example-without-html "|table row|all on|one line|is recognised|">>
|
||||
|
||||
<<wikitext-example-without-html "|For a blank line after open tag|<div>
|
||||
|
||||
* list is recognised
|
||||
* but the surrounding table row is not
|
||||
</div>|">>
|
||||
<<testcase TestCases/HTML/OpenTagBlankLineInTableSyntax>>
|
||||
|
||||
---
|
||||
|
||||
@ -58,15 +36,4 @@ Note that <<.wlink MacroCallWidget>> does not have a similar <<.attr mode>> attr
|
||||
|
||||
---
|
||||
|
||||
The less convenient `<table>`, `<tr>`, `<td>` html tags can be used as a foolproof way to get [[block mode|Block Mode WikiText]] punctuation recognised inside of table cells.
|
||||
|
||||
<<wikitext-example-without-html "<table>
|
||||
<tr><td>
|
||||
|
||||
* list item one
|
||||
* list item two
|
||||
</td><td>
|
||||
|
||||
|nested|table|
|
||||
</td></tr>
|
||||
</table>">>
|
||||
<<testcase TestCases/HTML/BlockModeInHTMLTable>>
|
@ -586,4 +586,6 @@ Michael McDermott, @michaeljmcd, 2024-07-09
|
||||
|
||||
Val Packett, @valpackett, 2024/07/26
|
||||
|
||||
@wolfsprite, 2024/08/09
|
||||
|
||||
@JDIGIO0213, 2024/08/29
|
Loading…
Reference in New Issue
Block a user