RFR: 8354320: Changes to jpackage.md cause pandoc warning

Alexey Semenyuk asemenyuk at openjdk.org
Fri Apr 11 12:55:26 UTC 2025


On Thu, 10 Apr 2025 21:50:10 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> Escape the dollar sign.

"`${`"

emits a slightly different warning:

[WARNING] Could not convert TeX math ) and the first following non-alphanumeric character. Alternatively, it can be enclosed between "`, rendering as TeX:
  e enclosed between "`
                     ^
  unexpected '"' 


Similar with

`${`

the warning is:

[WARNING] Could not convert TeX math ) and the first following non-alphanumeric character. Alternatively, it can be enclosed between "`, rendering as TeX:
  e enclosed between "`
                     ^
  unexpected '"' 


It seems like it can't handle the dollar character unless it is escaped with the backslash.

Even though raw jpackage.md renders the backslash, man and HTML outputs look correct.

I'm not an expert in pandoc or markdown. If you have any other ideas about how to fix it, I'll be happy to try them out.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24585#issuecomment-2796836264


More information about the core-libs-dev mailing list