Skip to content
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

Add LaTeX defaults for renderers produced by options tableAttributes and bracketedSpans #528

Merged
merged 5 commits into from
Nov 18, 2024

Conversation

Witiko
Copy link
Owner

@Witiko Witiko commented Nov 18, 2024

Closes #525.

@Witiko Witiko added latex Related to the LaTeX interface and implementation defaults Related to default option values and renderer prototypes labels Nov 18, 2024
@Witiko Witiko added this to the 3.9.0 milestone Nov 18, 2024
@Witiko Witiko self-assigned this Nov 18, 2024
@Witiko Witiko changed the title Add LaTeX defaults for renderers produced by option tableAttributes Add LaTeX defaults for renderers produced by options tableAttributes and bracketedSpans Nov 18, 2024
@Witiko
Copy link
Owner Author

Witiko commented Nov 18, 2024

In addition to the LaTeX defaults for renderers produced by option tableAttributes, as shown in #525 (comment), this PR also adds LaTeX defaults for renderers produced by option bracketedSpans:

\documentclass{article}
\usepackage[
  bracketed_spans,
  relative_references,
  start_number = false,
]{markdown}
\begin{document}
\begin{markdown}

Demonstration of *bracketed spans* syntax:

 1. First item
 2. [Second item]{#second-item}
 3. Third item

Demonstration of a *relative reference*: See item <#second-item>.

\end{markdown}
\end{document}

image

@Witiko
Copy link
Owner Author

Witiko commented Nov 18, 2024

[T]his PR also adds LaTeX defaults for renderers produced by option bracketedSpans: [...]

As discussed with @MacLotsen at TUG 2024 and with @TeXhackse at matrix.org.

@Witiko Witiko merged commit a86f3b1 into main Nov 18, 2024
12 checks passed
@Witiko Witiko deleted the feat/table-identifier-latex-defaults branch November 18, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defaults Related to default option values and renderer prototypes latex Related to the LaTeX interface and implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tableAttributes not working correctly
1 participant