PandocAnsiFilter/Notes.txt

58 lines
1.8 KiB
Plaintext
Raw Normal View History

2022-09-21 13:26:09 +02:00
pandoc -t native --ipynb-output=best 2_NumTypes.ipynb |jq
quarto commit:
https://github.com/quarto-dev/quarto-cli/commit/2bd7b8719ecf8916f5754c0f3ac63ba5d7597c31
2022-09-21 17:06:53 +02:00
https://github.com/quarto-dev/quarto-cli/issues/929
2022-09-21 13:26:09 +02:00
2022-09-21 17:06:53 +02:00
my quarto discussion:
2022-09-21 13:26:09 +02:00
https://github.com/quarto-dev/quarto-cli/discussions/2488
2022-09-21 17:06:53 +02:00
my pandoc discussion:
2022-09-21 13:26:09 +02:00
https://groups.google.com/g/pandoc-discuss/c/kFqvcZ1M8dw
nbconvert filter:
https://github.com/jupyter/nbconvert/blob/main/nbconvert/filters/ansi.py
ansi2html lib:
https://github.com/pycontribs/ansi2html/blob/main/ansi2html/converter.py
https://pandoc.org/lua-filters.html
pandoc commit ipynb-output-option
https://github.com/jgm/pandoc/commit/77faccb505992c944cd1b92f50e4e00d2927682b
pandoc commit remove ansi escapes
https://github.com/jgm/pandoc/commit/5454aad32474472a8f977c941e6f7d70e925bcc5
https://github.com/jgm/pandoc/issues/5633
A filter example:
https://github.com/jgm/pandoc/issues/6643
pandoc -t native --ipynb-output=all --lua-filter=ansi2html.lua 2_NumTypes.ipynb -o kkk
http://lua-users.org/wiki/AnsiTerminalColors
2022-09-21 17:06:53 +02:00
ANSI codes
https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797
2022-09-21 21:01:18 +02:00
check (esp. Latex) documenter.jl,
https://juliadocs.github.io/Documenter.jl/stable/man/syntax/#@example-block
@example blocks support colored text output by mapping ANSI escape codes to HTML.
-- nothing for latex
jupyter nbconvert,
html: prima
latex mit juliamono: sind noch undef. escapesequencen drinne
\begin{tcolorbox}[breakable, size=fbox, boxrule=1pt, pad at break*=1mm, colback=cellbackground, colframe=cellborder]
\begin{Verbatim}[commandchars=\\{}]
sieht so aus, als wären da newlines reingekommen (vor der ascii-auswertung)
eliminate newline for esc??
newest quarto