mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-28 02:50:27 +00:00
Add more markdown toolbar buttons (#8395)
This commit is contained in:
parent
fcb28df82c
commit
a4649490de
15
plugins/tiddlywiki/markdown/EditorToolbar/strikethrough.tid
Normal file
15
plugins/tiddlywiki/markdown/EditorToolbar/strikethrough.tid
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
title: $:/plugins/tiddlywiki/markdown/EditorToolbar/strikethrough
|
||||||
|
list-after: $:/core/ui/EditorToolbar/strikethrough
|
||||||
|
tags: $:/tags/EditorToolbar
|
||||||
|
icon: $:/core/images/strikethrough
|
||||||
|
caption: {{$:/language/Buttons/Strikethrough/Caption}} (Markdown)
|
||||||
|
description: {{$:/language/Buttons/Strikethrough/Hint}}
|
||||||
|
condition: [<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]
|
||||||
|
shortcuts: ((strikethrough))
|
||||||
|
|
||||||
|
<$action-sendmessage
|
||||||
|
$message="tm-edit-text-operation"
|
||||||
|
$param="wrap-selection"
|
||||||
|
prefix="~~"
|
||||||
|
suffix="~~"
|
||||||
|
/>
|
15
plugins/tiddlywiki/markdown/EditorToolbar/subscript.tid
Normal file
15
plugins/tiddlywiki/markdown/EditorToolbar/subscript.tid
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
title: $:/plugins/tiddlywiki/markdown/EditorToolbar/subscript
|
||||||
|
list-after: $:/core/ui/EditorToolbar/subscript
|
||||||
|
tags: $:/tags/EditorToolbar
|
||||||
|
icon: $:/core/images/subscript
|
||||||
|
caption: {{$:/language/Buttons/Subscript/Caption}} (Markdown)
|
||||||
|
description: {{$:/language/Buttons/Subscript/Hint}}
|
||||||
|
condition: [<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]
|
||||||
|
shortcuts: ((subscript))
|
||||||
|
|
||||||
|
<$action-sendmessage
|
||||||
|
$message="tm-edit-text-operation"
|
||||||
|
$param="wrap-selection"
|
||||||
|
prefix="~"
|
||||||
|
suffix="~"
|
||||||
|
/>
|
15
plugins/tiddlywiki/markdown/EditorToolbar/superscript.tid
Normal file
15
plugins/tiddlywiki/markdown/EditorToolbar/superscript.tid
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
title: $:/plugins/tiddlywiki/markdown/EditorToolbar/superscript
|
||||||
|
list-after: $:/core/ui/EditorToolbar/superscript
|
||||||
|
tags: $:/tags/EditorToolbar
|
||||||
|
icon: $:/core/images/superscript
|
||||||
|
caption: {{$:/language/Buttons/Superscript/Caption}} (Markdown)
|
||||||
|
description: {{$:/language/Buttons/Superscript/Hint}}
|
||||||
|
condition: [<targetTiddler>type[text/x-markdown]] [<targetTiddler>type[text/markdown]]
|
||||||
|
shortcuts: ((superscript))
|
||||||
|
|
||||||
|
<$action-sendmessage
|
||||||
|
$message="tm-edit-text-operation"
|
||||||
|
$param="wrap-selection"
|
||||||
|
prefix="^"
|
||||||
|
suffix="^"
|
||||||
|
/>
|
Loading…
Reference in New Issue
Block a user