From: David G. <go...@py...> - 2004-11-02 22:20:25
|
I just implemented new options for the "unicode" directive: "ltrim", "rtrim", and "trim" (trim whitespace from the left, right, or both sides of substitution references when applied). Example: Insert an em-dash |---| automatically trimming whitespace. Some substitutions |TM| only need trimming on one side. .. |---| unicode:: U+02014 :trim: .. |TM| unicode:: U+02122 :ltrim: See <http://docutils.sf.net/docs/ref/rst/directives.html#unicode>. -- David Goodger <http://python.net/~goodger> |