Difference between revisions of "Md-toc"

From Free Software Directory
Jump to: navigation, search
m (Removed '.' from the 'Short description' field.)
(Updated to new release.)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Entry
 
{{Entry
 
|Name=md-toc
 
|Name=md-toc
|Short description=Automatically generate a table of contents for a markdown file to improve document readability
+
|Short description=Automatically generate a compliant table of contents for a markdown file to improve document readability
|Full description=The table of contents generated by this program is designed to work with several markdown parsers such as the one used by GitHub and GitLab.
+
|Full description=The table of contents (a.k.a: TOC) generated by this program is designed to
 +
work with several markdown parsers such as the ones used by GitHub and GitLab.
  
When used with the in-place option this script will write the table of contents at the first occurrency of a marker. The default marker is [](TOC) which will result as invisible when reading the parsed markdown file.
+
When used with the in-place option this script will write the TOC at the first
 +
occurrency of a marker. The default marker is ``<!--TOC-->``, which, being
 +
an HTML comment, will result invisible after the markdown file has
 +
been translated.
  
By default, titles up to three indentation levels (in HTML: h1, h2, h3) will be included in the table of contents.
+
By default titles up to three indentation levels (in HTML: ``h1``, ``h2``,
 +
``h3``) will be included in the TOC but the user can decide to keep all
 +
possible levels.
  
As a final remark, it is possible to generate an ordered and an unordered table of contents. In both cases, each element of the toc is by default a clickable link to a paragraph in the page. It is also possible to generate non-linked version of the TOC.
+
md_toc makes it is possible to generate ordered and unordered TOCs.
 +
In both cases each element of the TOC is by default a
 +
link to a paragraph in the web page. It is also possible to generate
 +
a non-linked version of the TOC.
 +
 
 +
If the user wants it, there is the possibility to ignore space indentations
 +
within the TOC and to skip an initial number of lines from the markdown file.
 +
 
 +
Rules for generating the TOC are determined by the selected
 +
markdown parser. md-toc aimes infact to be as conformant as possible in
 +
respect to each one of them. This was possible by studying the available
 +
documentations and by reverse engineering the source codes.
 
|Homepage URL=https://github.com/frnmst/md-toc
 
|Homepage URL=https://github.com/frnmst/md-toc
|User level=intermediate
+
|Is High Priority Project=No
|Component programs=Python 3
 
 
|VCS checkout command=git clone https://github.com/frnmst/md-toc
 
|VCS checkout command=git clone https://github.com/frnmst/md-toc
 
|Computer languages=Python
 
|Computer languages=Python
 
|Documentation note=Documentation at: http://frnmst.github.io/md-toc
 
|Documentation note=Documentation at: http://frnmst.github.io/md-toc
 +
|Decommissioned or Obsolete=No
 
|Keywords=markdown, md, table-of-contents, toc
 
|Keywords=markdown, md, table-of-contents, toc
|Version identifier=1.0.0
+
|Version identifier=6.0.0
|Version date=2018/01/27
+
|Version date=2019/06/12
 
|Version status=alpha
 
|Version status=alpha
|Version download=https://github.com/frnmst/md-toc/archive/1.0.0.tar.gz
+
|Version download=https://github.com/frnmst/md-toc/archive/5.0.1.tar.gz
 +
|Version comment=Added skip lines option. Fixed indentation spaces issue. Other fixes.
 +
|Last review by=Frnmst
 +
|Last review date=2019/06/12
 
|Submitted date=2018/01/27
 
|Submitted date=2018/01/27
 +
|User level=intermediate
 +
|Component programs=Python 3
 +
|Accepts cryptocurrency donations=No
 +
|Test entry=No
 
|Is GNU=No
 
|Is GNU=No
 
}}
 
}}
 
{{Project license
 
{{Project license
 
|License=GPLv3orlater
 
|License=GPLv3orlater
|License copyright=Copyright (C) 2017-2018 frnmst (Franco Masotti) <franco.masotti@live.com>
+
|License copyright=Copyright (C) 2017-2019 frnmst (Franco Masotti) <franco.masotti@live.com>
<franco.masotti@student.unife.it>
 
  
 
md-toc is free software: you can redistribute it and/or modify
 
md-toc is free software: you can redistribute it and/or modify
Line 42: Line 65:
 
}}
 
}}
 
{{Person}}
 
{{Person}}
{{Resource}}
+
{{Resource
 +
|Resource audience=Python (Ref)
 +
|Resource URL=https://pypi.org/project/md-toc
 +
}}
 +
{{Resource
 +
|Resource audience=Everyone
 +
|Resource kind=General
 +
|Resource URL=https://gitter.im/md-toc/community
 +
}}
 
{{Software category
 
{{Software category
 
|Documentation-tool=documentation-word-processing
 
|Documentation-tool=documentation-word-processing
Line 59: Line 90:
 
|Prerequisite kind=Required to use
 
|Prerequisite kind=Required to use
 
|Prerequisite description=Python 3
 
|Prerequisite description=Python 3
 +
}}
 +
{{Software prerequisite
 +
|Prerequisite kind=Required to build
 +
|Prerequisite description=Flake8
 +
}}
 +
{{Software prerequisite
 +
|Prerequisite kind=Required to build
 +
|Prerequisite description=flake8-docstrings
 +
}}
 +
{{Software prerequisite
 +
|Prerequisite kind=Required to build
 +
|Prerequisite description=Sphinx
 +
}}
 +
{{Software prerequisite
 +
|Prerequisite kind=Required to use
 +
|Prerequisite description=Setuptools
 +
}}
 +
{{Software prerequisite
 +
|Prerequisite kind=Required to build
 +
|Prerequisite description=Alabaster
 
}}
 
}}
 
{{Featured}}
 
{{Featured}}

Latest revision as of 10:04, 12 June 2019

[edit]

md-toc

https://github.com/frnmst/md-toc
Automatically generate a compliant table of contents for a markdown file to improve document readability

The table of contents (a.k.a: TOC) generated by this program is designed to work with several markdown parsers such as the ones used by GitHub and GitLab.

When used with the in-place option this script will write the TOC at the first occurrency of a marker. The default marker is ````, which, being an HTML comment, will result invisible after the markdown file has been translated.

By default titles up to three indentation levels (in HTML: ``h1``, ``h2``, ``h3``) will be included in the TOC but the user can decide to keep all possible levels.

md_toc makes it is possible to generate ordered and unordered TOCs. In both cases each element of the TOC is by default a link to a paragraph in the web page. It is also possible to generate a non-linked version of the TOC.

If the user wants it, there is the possibility to ignore space indentations within the TOC and to skip an initial number of lines from the markdown file.

Rules for generating the TOC are determined by the selected markdown parser. md-toc aimes infact to be as conformant as possible in respect to each one of them. This was possible by studying the available documentations and by reverse engineering the source codes.

Documentation

Documentation at: http://frnmst.github.io/md-toc





Licensing

License

Verified by

Verified on

Notes




Leaders and contributors

Contact(s)Role


Resources and communication

AudienceResource typeURI
Python (Ref)https://pypi.org/project/md-toc
EveryoneGeneralhttps://gitter.im/md-toc/community


Software prerequisites

KindDescription
Required to usehttps://github.com/frnmst/fpyutils
Required to buildAlabaster
Required to usePython 3
Required to buildFlake8
Required to buildflake8-docstrings
Required to buildSphinx
Required to useSetuptools

This entry (in part or in whole) was last reviewed on 12 June 2019.



Entry







Property "Submitted by" (as page type) with input value "{{{Submitted by}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.












"Python (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Everyone" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.






















Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.