Template:Modulesrc

From Wiki
Revision as of 13:49, 4 January 2020 by Exprosic (talk | contribs) (Similar with Template:Src but points to modules/ instead of base/)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{1}}}


Link to files in the tex/context/modules directory. The link text is the filename by default, but you may pass a second parameter if you want some other text.

Usage:

   {{modulesrc|m-ipsum.mkiv#l18}}
   {{modulesrc|m-ipsum.mkiv#l18|m-ipsum.mkiv}}

Resulting code:

   [https://source.contextgarden.net/tex/context/modules/mkiv/m-ipsum.mkiv#l18 m-ipsum.mkiv#l18]
   [https://source.contextgarden.net/tex/context/modules/mkiv/m-ipsum.mkiv#l18 m-ipsum.mkiv]

Looks like:

m-ipsum.mkiv#l18
m-ipsum.mkiv

The repository may or may not change in the future; if you must link to a specific repository, don't use this template, but write the link in full.