mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-19 08:14:50 +00:00
c2b436371b
* tiddler-info-source - change sources tab to new syntax and add link to pr-creator * remove class from plain text elements as requested
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
title: $:/editions/tw5.com/TiddlerInfo/Sources
|
|
tags: $:/tags/TiddlerInfo
|
|
caption: Sources
|
|
code-body: yes
|
|
|
|
\function static-link-base() [[https://tiddlywiki.com/static/$(title)$.html]substitute[]]
|
|
|
|
\function github-link-base()
|
|
[[https://github.com/Jermolene/TiddlyWiki5/blob/tiddlywiki-com/editions/tw5.com/tiddlers/$(title)$]substitute[]]
|
|
\end
|
|
|
|
\procedure make-static-link()
|
|
\whitespace trim
|
|
<$set name="title" filter="[<currentTiddler>encodeuricomponent[]encodeuricomponent[]]" select="0">
|
|
<a href=<<static-link-base>>
|
|
class="tc-tiddlylink-external"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
>
|
|
<$text text=<<static-link-base>>/>
|
|
</a>
|
|
</$set>
|
|
\end
|
|
|
|
\procedure make-github-link()
|
|
<$set name="title" value={{{ [[$:/config/OriginalTiddlerPaths]getindex<currentTiddler>] }}}>
|
|
<$set name="title" filter="[<title>encodeuricomponent[]]" select="0">
|
|
<a href=<<github-link-base>>
|
|
class="tc-tiddlylink-external"
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
>Direct link to <$text text=<<currentTiddler>>/> on github.com</a>
|
|
</$set>
|
|
</$set>
|
|
\end
|
|
|
|
<$list filter="[all[current]!is[system]!is[shadow]]">
|
|
|
|
A static HTML representation of this tiddler is available at the URL:
|
|
|
|
* <<make-static-link>>
|
|
|
|
Help us to improve the documentation by suggesting changes to this tiddler using the [[TiddlyWiki Docs PR Maker|https://saqimtiaz.github.io/tw5-docs-pr-maker/]]
|
|
|
|
* <<make-github-link>>
|
|
|
|
</$list>
|