Please enable javascript to use this site.
· OpenID
matoken自宅で動いている個人用GNU socialです. Pleroma FE 併用中.

  1. matoken (matoken@gnusocial.matoken.org)'s status on Saturday, 24-Aug-2019 19:14:12 JST matoken matoken
    sciidoc html export時にdata-uri埋め込み
    asciidocもasciidoctorも`-a data-uri` で行けた

    $ convert pango:"<span font=\"/Library/Fonts/NotoColorEmoji\" size=\"24576\">😺</span>" cat.jpg
    $ vi test.adoc
    $ asciidoc ./test.adoc
    $ grep jpg ./test.html
    <img src="./cat.jpg" alt="./cat.jpg" />
    $ asciidoc -a data-uri ./test.adoc
    $ grep jpg -A1 https://gnusocial.matoken.org/attachment/281885 ./test.html
    <img alt="./cat.jpg"
    src="data:image/jpeg;base64,