pandoc-cli 3.11 → 3.12
raw patch · 4 files changed
+70/−18 lines, 4 filesdep ~pandoc
Dependency ranges changed: pandoc
Files
- man/pandoc-lua.1 +2/−2
- man/pandoc-server.1 +2/−2
- man/pandoc.1 +64/−12
- pandoc-cli.cabal +2/−2
man/pandoc-lua.1 view
@@ -1,6 +1,6 @@-.\" Automatically generated by Pandoc 3.11+.\" Automatically generated by Pandoc 3.12 .\"-.TH "pandoc-lua" "1" "September 22, 2022" "pandoc 3.11" "Pandoc User\[cq]s Guide"+.TH "pandoc-lua" "1" "September 22, 2022" "pandoc 3.12" "Pandoc User\[cq]s Guide" .SH NAME pandoc\-lua \- Lua interface to pandoc API .SH SYNOPSIS
man/pandoc-server.1 view
@@ -1,6 +1,6 @@-.\" Automatically generated by Pandoc 3.11+.\" Automatically generated by Pandoc 3.12 .\"-.TH "pandoc-server" "1" "August 15, 2022" "pandoc 3.11" "Pandoc User\[cq]s Guide"+.TH "pandoc-server" "1" "August 15, 2022" "pandoc 3.12" "Pandoc User\[cq]s Guide" .SH NAME pandoc\-server \- web server exposing pandoc API .SH SYNOPSIS
man/pandoc.1 view
@@ -1,6 +1,6 @@-.\" Automatically generated by Pandoc 3.11+.\" Automatically generated by Pandoc 3.12 .\"-.TH "pandoc" "1" "2026\-08\-28" "pandoc 3.11" "Pandoc User\[cq]s Guide"+.TH "pandoc" "1" "2026\-09\-26" "pandoc 3.12" "Pandoc User\[cq]s Guide" .SH NAME pandoc - general markup converter .SH SYNOPSIS@@ -1965,9 +1965,9 @@ epub\-cover\-image\f[B]:\f[R] ${.}/cover.jpg epub\-metadata\f[B]:\f[R] ${.}/meta.xml resource\-path\f[B]:\f[R]-\f[B]\-\f[R] .\f[I] # the working directory from which pandoc is run\f[R]-\f[B]\-\f[R] ${.}/images\f[I] # the images subdirectory of the directory\f[R]-\f[I] # containing this defaults file\f[R]+\f[B]\- \f[R]. # the working directory from which pandoc is run+\f[B]\- \f[R]${.}/images # the images subdirectory of the directory+ \f[I]# containing this defaults file\f[R] .EE .PP This environment variable interpolation syntax \f[I]only\f[R] works in@@ -2892,19 +2892,29 @@ e.g.\ \f[CR]20px\f[R], but it also accepts \f[CR]pt\f[R] (12pt = 16px in most browsers). .TP-\f[CR]fontcolor\f[R]+\f[CR]fontcolor\f[R], \f[CR]fontcolordark\f[R] sets the CSS \f[CR]color\f[R] property on the \f[CR]html\f[R] element. .TP-\f[CR]linkcolor\f[R]+\f[CR]linkcolor\f[R], \f[CR]linkcolordark\f[R] sets the CSS \f[CR]color\f[R] property on all links. .TP-\f[CR]monofont\f[R]-sets the CSS \f[CR]font\-family\f[R] property on \f[CR]code\f[R]+\f[CR]quotebordercolor\f[R], \f[CR]quotebordercolordark\f[R]+sets the CSS \f[CR]border\-color\f[R] property for the left\-border of+.RS+\f[CR]blockquote\f[R] elements.+.RE+.TP+\f[CR]quotecolor\f[R], \f[CR]quotecolordark\f[R]+sets the CSS \f[CR]color\f[R] property for \f[CR]blockquote\f[R] elements. .TP-\f[CR]monobackgroundcolor\f[R]+\f[CR]monofont\f[R]+sets the CSS \f[CR]font\-family\f[R] property on \f[CR]code\f[R] and+\f[CR]pre\f[R] elements.+.TP+\f[CR]monobackgroundcolor\f[R], \f[CR]monobackgroundcolordark\f[R] sets the CSS \f[CR]background\-color\f[R] property on \f[CR]code\f[R]-elements and adds extra padding.+and \f[CR]pre\f[R] elements and adds extra padding. .TP \f[CR]linestretch\f[R] sets the CSS \f[CR]line\-height\f[R] property on the \f[CR]html\f[R]@@ -2913,7 +2923,7 @@ \f[CR]maxwidth\f[R] sets the CSS \f[CR]max\-width\f[R] property (default is 36em). .TP-\f[CR]backgroundcolor\f[R]+\f[CR]backgroundcolor\f[R], \f[CR]backgroundcolordark\f[R] sets the CSS \f[CR]background\-color\f[R] property on the \f[CR]html\f[R] element. .TP@@ -2943,6 +2953,48 @@ </style> \-\-\- .EE+.SS Note on \f[CR]color\-scheme\f[R]+By default, the browser\(cqs chosen \f[CR]color\-scheme\f[R] (either+\f[CR]light\f[R] or \f[CR]dark\f[R]) will affect the color of various+unstyled elements like input fields, which are generally only applicable+if your document is specifically targeting HTML.+.PP+By default, Pandoc emits \f[CR]color\-scheme: light dark\f[R] to allow+the system to choose between a default light\-mode or dark\-mode scheme,+but it alters this if variables specifically override colors, under the+assumption that the user wishes for that scheme to always be used.+.PP+Currently, this is only per a basic heuristic that checks whether the+following variables are provided:+.IP \(bu 2+\f[CR]fontcolor\f[R]+.IP \(bu 2+\f[CR]fontcolordark\f[R]+.IP \(bu 2+\f[CR]backgroundcolor\f[R]+.IP \(bu 2+\f[CR]backgroundcolordark\f[R]+.PP+And if only one \(lqmode\(rq is provided (light or dark),+\f[CR]color\-scheme\f[R] is set so that this chosen mode is used always,+regardless of the system\(cqs preference for light or dark mode.+.PP+Note that there are a few caveats to this, namely that:+.IP \(bu 2+If the browser does not support \f[CR]light\-dark\f[R] (older than+\(ti2024), then it will always choose light mode, regardless of this+override.+.IP \(bu 2+When printing, light mode is always chosen, and color variables are+ignored.+.IP \(bu 2+Syntax highlighting is currently unaffected by color scheme.+.PP+In general, if you wish to override the theming for a single scheme, you+should choose to override either the normal \f[CR]*color\f[R] variables+(light mode) or the \f[CR]*colordark\f[R] variables (dark mode) to+ensure that the styles do not conflict with other styles added by new+versions of Pandoc or the browser itself. .SS Variables for HTML math .TP \f[CR]classoption\f[R]
pandoc-cli.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: pandoc-cli-version: 3.11+version: 3.12 build-type: Simple license: GPL-2.0-or-later license-file: COPYING.md@@ -69,7 +69,7 @@ buildable: True -- Note: we always link to an exact version of pandoc, with the -- same version as this package:- build-depends: pandoc == 3.11, text+ build-depends: pandoc == 3.12, text other-modules: PandocCLI.Lua , PandocCLI.Server