mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-09 17:00:27 +00:00
fix: blockmark widget name
This commit is contained in:
parent
8c20319b3a
commit
b34221aadf
@ -73,4 +73,4 @@ BlockMarkWidget.prototype.refresh = function(changedTiddlers) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
exports["block-mark"] = BlockMarkWidget;
|
exports.blockmark = BlockMarkWidget;
|
@ -11,7 +11,7 @@ The block id widget make an block mark that can be focused and jump to.
|
|||||||
|
|
||||||
! Content and Attributes
|
! Content and Attributes
|
||||||
|
|
||||||
The content of the `<$block-mark>` widget is ignored.
|
The content of the `<$blockmark>` widget is ignored.
|
||||||
|
|
||||||
|!Attribute |!Description |
|
|!Attribute |!Description |
|
||||||
|id |The unique id for the block |
|
|id |The unique id for the block |
|
||||||
@ -21,14 +21,14 @@ See [[Block Level Links in WikiText^🤗→AddingIDforblock]] for WikiText synta
|
|||||||
|
|
||||||
! Example
|
! Example
|
||||||
|
|
||||||
<<wikitext-example-without-html """The block id widget is invisible, and is usually located at the end of the line. ID is here:<$block-mark id="BlockLevelLinksID1"/>
|
<<wikitext-example-without-html """The block id widget is invisible, and is usually located at the end of the line. ID is here:<$blockmark id="BlockLevelLinksID1"/>
|
||||||
|
|
||||||
[[Link to BlockLevelLinksID1|BlockMarkWidget^BlockLevelLinksID1]]
|
[[Link to BlockLevelLinksID1|BlockMarkWidget^BlockLevelLinksID1]]
|
||||||
""">>
|
""">>
|
||||||
|
|
||||||
<<wikitext-example """You can refer to the block that is a line before the block id widget. Make sure block id widget itself is in a block (paragraph).
|
<<wikitext-example """You can refer to the block that is a line before the block id widget. Make sure block id widget itself is in a block (paragraph).
|
||||||
|
|
||||||
ID is here:<$block-mark id="BlockLevelLinksID2" previousSibling="yes"/>
|
ID is here:<$blockmark id="BlockLevelLinksID2" previousSibling="yes"/>
|
||||||
|
|
||||||
[[Link to BlockLevelLinksID2|BlockMarkWidget^BlockLevelLinksID2]]
|
[[Link to BlockLevelLinksID2|BlockMarkWidget^BlockLevelLinksID2]]
|
||||||
""">>
|
""">>
|
@ -63,6 +63,8 @@ The above example can be adapted to work for many situations in ~TiddlyWiki, suc
|
|||||||
|
|
||||||
Yes, it's that simple. BUT... in ~TiddlyWiki there are some small differences from standard HTML5 anchor links and some specific ~TiddlyWiki limitations.
|
Yes, it's that simple. BUT... in ~TiddlyWiki there are some small differences from standard HTML5 anchor links and some specific ~TiddlyWiki limitations.
|
||||||
|
|
||||||
|
To use WikiText style anchor links, see [[Block Level Links in WikiText]].
|
||||||
|
|
||||||
<a href=<<qualify "##Top">>>Back to the top</a>
|
<a href=<<qualify "##Top">>>Back to the top</a>
|
||||||
|
|
||||||
<h2 id=<<qualify "#Anchor-link-limitations">>>Limitations and things to watch out for</h2>
|
<h2 id=<<qualify "#Anchor-link-limitations">>>Limitations and things to watch out for</h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user