Skip to content

Commit 6d9b6bc

Browse files
committed
some examples of HTML transformations
1 parent 1aed1be commit 6d9b6bc

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

luaxml.tex

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
\newcommand\functionsummary[1]{#1\\\textbf{Parameters:}\\}
1818
\newcommand\functionparam[2]{\texttt{#1}: #2\\}
1919
\newcommand\functionreturn[1]{\textbf{Return: }\\#1\\}
20-
\usepackage{luaxml}
20+
\usepackage[default]{luaxml}
2121

2222
\begin{document}
2323
\title{The \textsc{LuaXML} library}
@@ -798,6 +798,22 @@ \subsection{Package Options}
798798
option in \verb|luaxml.sty| commands and environments.
799799
\end{description}
800800
801+
\begin{verbatim}
802+
\usepackage[default]{luaxml}
803+
...
804+
805+
\begin{LXMLCode*}{html}
806+
<p>Hello <b>world</b> and some text in <i>italics</i>.</p>
807+
\end{LXMLCode*}
808+
\end{verbatim}
809+
810+
\begin{framed}
811+
\begin{LXMLCode*}{html}
812+
<p>Hello <b>world</b> and some text in <i>italics</i>.</p>
813+
\end{LXMLCode*}
814+
\end{framed}
815+
816+
801817
\subsection{Example of Transformation Using \LaTeX\ Commands}
802818
803819
\begin{verbatim}

0 commit comments

Comments
 (0)