From: <po...@or...> - 2003-03-05 15:56:16
|
"Morten W. Petersen" <mo...@ni...> writes: > Hi! > > I'm skimming through the "reStructuredText Markup Specification" and I'm > wondering how to remove certain elements from the markup, such as > inline literals. Any ideas? Could you be a bit more specific? How would you like to remove them? * don't allow them in a document in the first place? (I'm not sure how you can reduce reST to a subset except by not using parts that you don't want to use.) * don't allow an inline literal to appear in an output file? (Create a custom writer that handles inline literals any way you want.) * remove the inline literal markups (``) from the output? (That happens automatically already when the document is read and the tree is built.) * some other way that I'm not understanding (Provide more details.) -- Patrick K. O'Brien Orbtech http://www.orbtech.com/web/pobrien ----------------------------------------------- "Your source for Python programming expertise." ----------------------------------------------- |