From 892a4edeb1c9b9810c8386e639d8e457bbae7e86 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 14 Aug 2017 23:05:09 -0700 Subject: Implement multicolumn support for slide formats. The structure expected is:
contents...
contents...
Support has been added for beamer and all HTML slide formats. Closes #1710. Note: later we could add a more elegant way to create this structure in Markdown than to use raw HTML div elements. This would come for free with a "native div syntax" (#168). Or we could devise something specific to slides --- test/command/1710.md | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 test/command/1710.md (limited to 'test/command/1710.md') diff --git a/test/command/1710.md b/test/command/1710.md new file mode 100644 index 000000000..be96678bd --- /dev/null +++ b/test/command/1710.md @@ -0,0 +1,91 @@ +``` +% pandoc -t revealjs +# Slide one + +
+
+- a +- b +
+
+- c +- d +
+
+ok +
+
+^D +
+

Slide one

+
+
+
    +
  • a
  • +
  • b
  • +
+
+
+
    +
  • c
  • +
  • d
  • +
+
+
+

ok

+
+
+
+``` + +``` +% pandoc -t beamer +# Slide one + +
+
+- a +- b +
+
+- c +- d +
+
+ok +
+
+^D +\begin{frame}{% +\protect\hypertarget{slide-one}{% +Slide one}} + +\begin{columns}[T] +\begin{column}{0.40\textwidth} +\begin{itemize} +\tightlist +\item + a +\item + b +\end{itemize} +\end{column} + +\begin{column}{0.40\textwidth} +\begin{itemize} +\tightlist +\item + c +\item + d +\end{itemize} +\end{column} + +\begin{column}{0.10\textwidth} +ok +\end{column} +\end{columns} + +\end{frame} +``` + -- cgit v1.2.3