From: Peter Davis <pfd@pfdstudio.com>
To: emacs-orgmode@gnu.org
Subject: Re: Redacting text in HTML export
Date: Thu, 8 Jan 2015 06:53:56 -0500 [thread overview]
Message-ID: <20150108115356.GA20569@PFDStudio-Air.home> (raw)
In-Reply-To: <878uhd39aj.fsf@gmx.us>
On Thu, Jan 08, 2015 at 10:34:44AM +0100, Rasmus wrote:
> Peter Davis <pfd@pfdstudio.com> writes:
>
> > Is there any way to completely redact text in HTML export, so it just
> > looks like black boxes?
>
> I'm not sure I fully understand, but it this what you are looking for?
>
> #+MACRO: redact @@html:<span class="redact" style="color:black; background-color:black;">$1</span>@@
> to {{{redact(redact)}}} or not to {{{redact(redact)}}} that is the question.
Oh! That would have done it! I wound up editing the <span ...> and </span> tags into the html by hand. This was for a blog post
<http://www.techcurmudgeon.com/2015/01/editorial-policies.html>, so I didn't have a lot of control over style sheets, fonts, etc.
Thank you!
-pd
--
----
Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com
prev parent reply other threads:[~2015-01-08 11:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-07 23:25 Redacting text in HTML export Peter Davis
2015-01-08 1:42 ` Nick Dokos
2015-01-08 9:34 ` Rasmus
2015-01-08 11:53 ` Peter Davis [this message]
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=20150108115356.GA20569@PFDStudio-Air.home \
--to=pfd@pfdstudio.com \
--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).