emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Redacting text in HTML export
@ 2015-01-07 23:25 Peter Davis
  2015-01-08  1:42 ` Nick Dokos
  2015-01-08  9:34 ` Rasmus
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Davis @ 2015-01-07 23:25 UTC (permalink / raw)
  To: emacs-orgmode


Is there any way to completely redact text in HTML export, so it just
looks like black boxes?

Thank you.

-pd

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Redacting text in HTML export
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2015-01-08  1:42 UTC (permalink / raw)
  To: emacs-orgmode

Peter Davis <pfd@pfdstudio.com> writes:

> Is there any way to completely redact text in HTML export, so it just
> looks like black boxes?
>

Does

        http://davidwalsh.name/redacted-font

help?

-- 
Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Redacting text in HTML export
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Rasmus @ 2015-01-08  9:34 UTC (permalink / raw)
  To: emacs-orgmode

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.

-- 
Not everything that goes around comes back around, you know

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Redacting text in HTML export
  2015-01-08  9:34 ` Rasmus
@ 2015-01-08 11:53   ` Peter Davis
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Davis @ 2015-01-08 11:53 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-08 11:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).