<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gozuk16</author_name>
  <author_url>https://blog.hatena.ne.jp/gozuk16/</author_url>
  <blog_title>ごずろぐ</blog_title>
  <blog_url>https://gozuk16.hatenablog.com/</blog_url>
  <categories>
    <anon>AsciiDoc</anon>
    <anon>asciidoctor-pdf</anon>
    <anon>PDF</anon>
  </categories>
  <description>AsciiDocで文字色を変える HTMLへ変換する場合、文字に色つけるときは[red]#あああ#みたいにすると出来ます。 ところが、asciidoctor-pdfでPDFを作ると期待通り色がつきません。 原因 asciidoctor-pdf でspanが来た時に色を付ける処理が[red]#text#が生成するspanと一致していないのが原因っぽいです。 この辺のソースでspanのstyleを読んでいるのでそういうことなんでしょう。 github.com 対応 現状のasciidoctor-pdfが期待する通りのspanを作ってやれば取り敢えず色変わりました。 pass:[&lt;span styl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgozuk16.hatenablog.com%2Fentry%2F2016%2F08%2F01%2F180402&quot; title=&quot;AsciiDocで文字色を変えたがasciidoctor-pdfで作成したPDFに反映しない - ごずろぐ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-08-01 18:04:02</published>
  <title>AsciiDocで文字色を変えたがasciidoctor-pdfで作成したPDFに反映しない</title>
  <type>rich</type>
  <url>https://gozuk16.hatenablog.com/entry/2016/08/01/180402</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
