tag:support.fletcherpenney.net,2013-02-12:/discussions/questions/100-censor-or-redact-text-in-mmdMultiMarkdown: Discussion 2014-05-12T19:12:05Ztag:support.fletcherpenney.net,2013-02-12:Comment/327448222014-04-28T18:10:41Z2014-04-28T18:10:41ZCensor or redact text in MMD?<div><p>I suppose you could create a system of transclusion files and
use a<br>
metadata variable to set the filename prefix. But this sounds
pretty<br>
convoluted.</p>
<pre>
<code>title: Foo
type: redacted
This is a discussion of {{[%type]-part1.txt}}.</code>
</pre>
<p>Otherwise you could write a pre-processor that strips out your
own<br>
markup (or replaces it with underscores, or whatever) before
passing it<br>
to MMD.</p>
<p>Fletcher</p></div>fletchertag:support.fletcherpenney.net,2013-02-12:Comment/327448222014-05-12T09:48:38Z2014-05-12T09:48:39ZCensor or redact text in MMD?<div><p>Your suggestion</p>
<p><code>This is a discussion of {{[%type]-part1.txt}}</code></p>
<p>does not work, cause resolution of transclude is done before
that of metadata.</p></div>Locotag:support.fletcherpenney.net,2013-02-12:Comment/327448222014-05-12T19:12:01Z2014-05-12T19:12:01ZCensor or redact text in MMD?<div><p>True enough. One would have to use a pre-processor script to
substitute the [%type] with the actual metadata prior to parsing
with MMD.</p>
<p>F-</p></div>fletcher