Skip to content

8354320: Changes to jpackage.md cause pandoc warning #24585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion make/autoconf/basic_tools.m4
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,15 @@ AC_DEFUN_ONCE([BASIC_SETUP_PANDOC],
AC_MSG_CHECKING([if the pandoc smart extension needs to be disabled for markdown])
if $PANDOC --list-extensions | $GREP -q '+smart'; then
AC_MSG_RESULT([yes])
PANDOC_MARKDOWN_FLAG="markdown-smart"
PANDOC_MARKDOWN_FLAG="$PANDOC_MARKDOWN_FLAG-smart"
else
AC_MSG_RESULT([no])
fi

AC_MSG_CHECKING([if the pandoc tex_math_dollars extension needs to be disabled for markdown])
if $PANDOC --list-extensions | $GREP -q '+tex_math_dollars'; then
AC_MSG_RESULT([yes])
PANDOC_MARKDOWN_FLAG="$PANDOC_MARKDOWN_FLAG-tex_math_dollars"
else
AC_MSG_RESULT([no])
fi
Expand Down
2 changes: 1 addition & 1 deletion src/jdk.jpackage/share/man/jpackage.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ The `jpackage` tool will take as input a Java application and a Java run-time im
will be ignored, and these expandable substrings will be
replaced by values calculated by the app launcher.

Prefix the dollar sign character with the backslash character (\)
Prefix the dollar sign character with the backslash character (\\)
to prevent substring expansion.

<a id="option-java-options">`--java-options` *options*</a>
Expand Down