-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7451 from quarto-dev/feature/latex-quartomarkdowncmd
\QuartoMarkdownBase64 command in LaTeX formats
- Loading branch information
Showing
7 changed files
with
179 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions
15
tests/docs/smoke-all/2023/11/02/latex-quarto-markdown-base64.qmd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
format: pdf | ||
a_meta_key: a_value | ||
--- | ||
|
||
![A caption](./foo.jpg){#fig-1} | ||
|
||
|
||
```{=latex} | ||
% QGZpZy0x is "@fig-1" in base-64 encoding | ||
% U29tZSBfbWFya2Rvd25fIGhlcmUu is "{{< meta a_meta_key >}} Some _markdown_ here." in base-64 encoding | ||
\begin{tabular}{cc} | ||
\QuartoMarkdownBase64{QGZpZy0x} & \QuartoMarkdownBase64{e3s8IG1ldGEgYV9tZXRhX2tleSA+fX0gU29tZSBfbWFya2Rvd25fIGhlcmUu} \\ | ||
\end{tabular} | ||
``` |