Awkee / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

xhtml - make ids in divs optional or prefixable #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be helpful to disable the automatic generation of ids for headers
or to prefix the ids with some configurable name.

I had already some cases where existing ids collided with auto generated
ids from pandoc and this makes it cumbersome to create html from different
pandoc/markdown sources.

Wanted:
defaultWriterOptions { writeIdPrefix = "foo_", writeAutoGenerateIds=True }

<div id="foo_title"><h2>title</h2></div

Original issue reported on code.google.com by michi.zo...@gmail.com on 20 Oct 2009 at 10:08

GoogleCodeExporter commented 9 years ago
See http://code.google.com/p/pandoc/issues/detail?id=41
I'm consolidating your request with that one.
Seems to me that the same prefix could be used for footnote and div ids.

Original comment by fiddloso...@gmail.com on 24 Oct 2009 at 7:39