diff --git a/h2leveldiscovery.htm b/h2leveldiscovery.htm index 087d7ef..8976c40 100644 --- a/h2leveldiscovery.htm +++ b/h2leveldiscovery.htm @@ -80,7 +80,7 @@

Automatic H2 level ToC entry discovery

Docnet will automatically add all H2 (## marked) headers to the ToC as sub navigation elements below a page ToC item. It will automatically add anchors to these H2 headers in the HTML output for the page as well. This makes it very easy to create a fine-grained ToC for easy discovery.

-

This behavior can be overridden by the MaxLevelInToC configuration option.

+

This behavior can be overridden by the MaxLevelInToC configuration option.

Info

Note that level 1 headings (titles) are never shown in the ToC).

diff --git a/markdownsupport.htm b/markdownsupport.htm index 6dedd63..a42386b 100644 --- a/markdownsupport.htm +++ b/markdownsupport.htm @@ -206,7 +206,7 @@ If you want to have an image rendered centered with a note below it, simply spec

To specify a block of text in a fixed sized font but not specify any language highlighting, specify nohighlight as language name:

this is a simple <pre> block
 

Linking

-

Docnet doesn't automatically transform links to markdown files by default. To enable automatic link conversion to local markdown files, please specify the ConvertLocalLinks option in the docnet.json file file with the value true. If ConvertLocalLinks isn't specified or set to false, any link to any document in your documentation has to use the url it will get in the destination folder.

+

Docnet doesn't automatically transform links to markdown files by default. To enable automatic link conversion to local markdown files, please specify the ConvertLocalLinks option in the docnet.json file file with the value true. If ConvertLocalLinks isn't specified or set to false, any link to any document in your documentation has to use the url it will get in the destination folder.

Example: you want to link to the file How to\AddEntity.md from a page. If ConvertLocalLinks isn't specified or set to false, you have to specify in the markdown the url it will need to be in the result site, which is the link How%20to/AddEntity.htm. If ConvertLocalLinks is set to true, you can specify How%20to/AddEntity.md and DocNet will convert it to How%20to/AddEntity.htm.

Important!

The markdown parser also doesn't allow spaces to be present in the urls. If you need a space in the url, escape it with %20.