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

Quarto: use native base64 encoding #10

Open
jdutant opened this issue Mar 2, 2023 · 0 comments
Open

Quarto: use native base64 encoding #10

jdutant opened this issue Mar 2, 2023 · 0 comments

Comments

@jdutant
Copy link
Contributor

jdutant commented Mar 2, 2023

To embed SVG files in data URLs the filter use base64url encoding. In Quarto the lbase64 library is available, the filter should use it.

  • Check whether the default encoding is URL-safe
  • If not, create a decoder (on-demand, in case the filter is applied to a doc without imagified content)
@jdutant jdutant added this to the v 0.2 Quarto Lua API basics milestone Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant