From: Adam Porter <adam@alphapapa.net>
To: emacs-orgmode@gnu.org
Subject: org-html-head documentation mistake?
Date: Sat, 13 Jan 2018 18:26:48 -0600 [thread overview]
Message-ID: <87zi5hl1yv.fsf@alphapapa.net> (raw)
Hi,
The docstring for org-html-head gives this example:
#+BEGIN_SRC html
<style type="text/css">
<![CDATA[
.timestamp, .timestamp-kwd { color: #268bd2 !important; }
blockquote > p { color: #333333 !important; font-size: 95% !important; }
]]>
</style>
#+END_SRC
When I customized the variable, I used those "CDATA" lines exactly, but
they prevented the stylesheet I added from working in the browser
(Chrome in this case). When I changed the "CDATA" lines to the ones
that are in org-html-style-default, it worked:
#+BEGIN_SRC html
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.timestamp, .timestamp-kwd { color: #268bd2 !important; }
blockquote > p { color: #333333 !important; font-size: 95% !important; }
/*]]>*/-->
</style>
#+END_SRC
So I'm guessing that the docs need to be updated.
Thanks.
next reply other threads:[~2018-01-14 0:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-14 0:26 Adam Porter [this message]
2018-01-15 15:40 ` org-html-head documentation mistake? Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zi5hl1yv.fsf@alphapapa.net \
--to=adam@alphapapa.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).