diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/morehype/markblog.tex')
-rw-r--r-- | Master/texmf-dist/source/latex/morehype/markblog.tex | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/morehype/markblog.tex b/Master/texmf-dist/source/latex/morehype/markblog.tex new file mode 100644 index 00000000000..581ac15de40 --- /dev/null +++ b/Master/texmf-dist/source/latex/morehype/markblog.tex @@ -0,0 +1,39 @@ +\ProvidesFile{markblog.tex}[2012/11/29 extended blog markup] +\EXECUTE{\def\pkg{\code}\def\HTML{\abbr{HTML}} + \def\mystrong{\textcolor{\#aa0000}} + \def\myalert{\textcolor{red}}} +\head %%% \texmetadata 2012/09/23 + \metanamecontent{author}{Uwe L\"uck} + \metanamecontent{date}{\isotoday} + \robots{index,follow,noarchive} +\title{blog.sty \& wikis} %%% CMS} +\body +\begin{center} +\heading2{\CtanPkgRef{morehype}{markblog.sty} %%%{{blog[exec].sty}} + \& + [[Wiki]]s} %%% \wikiref{content management system}{\abbr{CMS}}} +\begin{stdallrulestable} + \EXECUTE{\let\blogcode\code \def\code#1{\textcolor{\#003300}{\blogcode{#1}}}} %% vs. CSS + %% ^^ war 66 2012/09/23 + \pkg{blog.sty} Syntax | Output | cf. \HTML | cf. \TeX | cf. ... \cr + \code{''italics''} | ''italics'' | \xmleltcode{i}{italics} + | \code{\{\cs{it} italics\}} | Wikipedia \cr + \code{'''boldface'''} | '''boldface''' | \xmleltcode{b}{boldface} + | \code{\{\cs{bf} boldface\}} | Wikipedia \cr + \code{[[Wikipedia]]} | [[Wikipedia]] | \xmleltattrcode{a}{href=...}{Wikipedia}} + | \code{\cs{href}\{...\}\{Wikipedia\}} + | Wikipedia \cr + \code{**mystrong**} | **mystrong** | \xmleltattrcode{span}{style=...}{mystrong}} + | \code{\cs{textcolor}\{...\}\{mystrong\}} + | [[Markdown]] \cr + \code{***myalert***} | ***myalert*** | \xmleltattrcode{span}{style=...}{myalert} + | \code{\cs{textcolor}{red}{myalert}} + | [[Markdown]] \cr + \code{...} | ... | \code{\…} | \cs{dots} | \cr + \code{--}, \code{---} | --, --- | \code{\–}, \code{\—} + | \code{--}, \code{---} -- "ligs" | \cr + \code{->}, \code{<-} | ->, <- | \code{\→}, \code{\←} + | \cs{to}, \cs{gets} | +\end{stdallrulestable} +\end{center} +\finish |