this is for holding javascript data
John Blischak added test-code-blocks.tex and commented: "Create example code block for testing formatting."
over 8 years ago
Commit id: b2fe413fa68d38a3dd6ba5e55d3ce39f47468ba8
deletions | additions
diff --git a/test-code-blocks.tex b/test-code-blocks.tex
new file mode 100644
index 0000000..1bf8469
--- /dev/null
+++ b/test-code-blocks.tex
...
Code blocks render nicely on Authorea.
However once they are exported they lose all their formatting.
No grey background, no monospace font, and the quotation marks are misformatted.
Here is a typical code block for testing:
\begin{lstlisting}
$ echo "test" > file.txt
$ wc -l file.txt
1 file.txt
\end{lstlisting}