1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +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:
Jermolene 2016-10-08 10:05:34 +01:00
parent e4f3d56bdc
commit ee66d1a1af
2 changed files with 16 additions and 0 deletions

View File

@ -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;
}

View 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