mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Add a documentation macro for marking version numbers
By signalling features that are new in 5.1.14 we can include documentation updates for the new version when we build updates to 5.1.13
This commit is contained in:
parent
e4f3d56bdc
commit
ee66d1a1af
@ -161,3 +161,11 @@ tr.doc-table-subheading {
|
||||
.doc-block-icon .tc-image-warning {
|
||||
fill: <<colour alert-highlight>>;
|
||||
}
|
||||
|
||||
.doc-from-version {
|
||||
display: inline-block;
|
||||
border: 2px solid <<colour alert-border>>;
|
||||
border-radius: 0.5em;
|
||||
background: <<colour alert-background>>;
|
||||
padding: 0 0.4em;
|
||||
}
|
||||
|
8
editions/tw5.com/tiddlers/system/version-macros.tid
Normal file
8
editions/tw5.com/tiddlers/system/version-macros.tid
Normal file
@ -0,0 +1,8 @@
|
||||
created: 20161008085627406
|
||||
modified: 20161008085627406
|
||||
title: $:/editions/tw5.com/version-macros
|
||||
tags: $:/tags/Macro
|
||||
|
||||
\define .from-version(version)
|
||||
<span class="doc-from-version">New in $version$</span>
|
||||
\end
|
Loading…
Reference in New Issue
Block a user