Dear all,
In trunk I've just committed a new website plugin, djangocms-toc.
It's quite new and will need fixing as it's tested but this is what it does so far:
1. If placed into a text plugin, it will generate a table of contents for that plugin. 2. If placed outside, it'll pick the first plugin/placeholder. 3. The toc is generated using the html header tags in order 4. If the header tag itself has an id, then a local link <a href="#id"> is created. 5. Otherwise no link is created.
a. You can pick a title (h2) for the table of contents. b. You can choose if you want bullets or numbers c. The whole toc is within a <div id='toc'> tag for easier styling later on.
Thoughts?
Best Regards, Martin Owens
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Martin,
thanks :)
The features sound good and I found it is even regenerated on changes :D
Where do you want test results to go? (so far, I couldn't get it to be inserted at the top of a page as 'first plugin' (outside text plugin), trying to move it to the top gives a long and only shortly displayed error message, for example.)
Regards, Maren
Am 29.01.2015 um 14:12 schrieb Martin Owens:
Dear all,
In trunk I've just committed a new website plugin, djangocms-toc.
It's quite new and will need fixing as it's tested but this is what it does so far:
- If placed into a text plugin, it will generate a table of contents
for that plugin. 2. If placed outside, it'll pick the first plugin/placeholder. 3. The toc is generated using the html header tags in order 4. If the header tag itself has an id, then a local link <a href="#id"> is created. 5. Otherwise no link is created.
a. You can pick a title (h2) for the table of contents. b. You can choose if you want bullets or numbers c. The whole toc is within a <div id='toc'> tag for easier styling
later on.
Thoughts?
Best Regards, Martin Owens
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media,
is your
hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Inkscape-docs mailing list Inkscape-docs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-docs
Hi Maren,
Thanks for testing. The branch for this one is in inkscape-web for now, so the bug reports should go there too. If I ever move it to it's own project, I'll move the open reports and call it good. :-)
Martin,
On 29 January 2015 at 09:46, Maren Hachmann <maren@...68...> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Martin,
thanks :)
The features sound good and I found it is even regenerated on changes :D
Where do you want test results to go? (so far, I couldn't get it to be inserted at the top of a page as 'first plugin' (outside text plugin), trying to move it to the top gives a long and only shortly displayed error message, for example.)
Regards, Maren
Am 29.01.2015 um 14:12 schrieb Martin Owens:
Dear all,
In trunk I've just committed a new website plugin, djangocms-toc.
It's quite new and will need fixing as it's tested but this is what it does so far:
- If placed into a text plugin, it will generate a table of contents
for that plugin. 2. If placed outside, it'll pick the first plugin/placeholder. 3. The toc is generated using the html header tags in order 4. If the header tag itself has an id, then a local link <a href="#id"> is created. 5. Otherwise no link is created.
a. You can pick a title (h2) for the table of contents. b. You can choose if you want bullets or numbers c. The whole toc is within a <div id='toc'> tag for easier styling
later on.
Thoughts?
Best Regards, Martin Owens
Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media,
is your
hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Inkscape-docs mailing list Inkscape-docs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-docs
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1
iF4EAREIAAYFAlTKR9EACgkQKoYx0uUjpE2DiAD/cpZxP1zsMUcnaUGj/hGT5iL3 CcvIMgPdAsYFuIWNznAA/R2Ckx4569nDiVewMsm6oE6xf/orr8UL2OG7/rSQ1OJF =+TF4 -----END PGP SIGNATURE-----
Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Inkscape-docs mailing list Inkscape-docs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-docs
participants (2)
-
Maren Hachmann
-
Martin Owens