[TxMt] Problem converting markdown pre-blocks with accented characters
Bert Fitié
bert at analytag.com
Mon Oct 9 20:15:00 UTC 2006
Thanks for the "one tab, four spaces" tip; I didn't know this. The
problem, however, remains:
Before conversion:
<tab> Fitié <tab> NextWord
<tab> Fitie <tab> NextWord
After conversion:
<pre><code>
Fitié <space> <space> NextWord
Fitie <space> <space> <space> NextWord
</code></pre>
and I'm losing one space in the first line when I use my name in the
accented version; in the second line using my name in the non-
accented version I don't lose anything.
On Oct 9, 2006, at 8:40 PM, Allan Odgaard wrote:
> On 9. Oct 2006, at 20:15, Bert Fitié wrote:
>
>> I'm using the "standard" Convert Document to HTML -- Markdown
>> command (CTRL SHIFT H)
>
> Ah okay, well, that’s because Markdown itself does a simple “tabs
> to spaces” before processing your file.
>
> You should not explicitly wrap your pre-formatted text in <pre>,
> instead indent it by one tab or four spaces. This will make it
> appear as-is (raw) in the resulting HTML.
>
> Generally you should not use HTML tags in Markdown documents.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
More information about the textmate
mailing list