|
From: glin <gl...@se...> - 2007-05-23 07:35:14
|
Hi, I'm sending patch, that adds possibility to create links to headings (so it is possible to create links using #rel appended to url) - just like in trac wiki. Just added 2 lines of code, and I think it is quite useful. It adds attribute 'id' to h1-h6 elements created from heading. Value of 'id' attribute is set to text of heading without spaces. Example: # Heading One ......some text here.... and finally comes [link to heading one](#HeadingOne) Output: <h1 id="HeadingOne">Heading One</h1> <p>......some text here.... and finally comes <a href="#HeadingOne">link to heading one</a> </p> |