You are here: PSPad forum > English discussion forum > How to show outline of Markdown document in Code Explorer?

How to show outline of Markdown document in Code Explorer?

#1 How to show outline of Markdown document in Code Explorer?

Posted by: therium | Date: 2018-02-01 12:12 | IP: IP Logged

PSPad 4.6.2 on Windows 7

I'd like to use PSPad to edit Markdown files and show the various headers, subheaders, and subsubheaders in the Code Explorer window, just like when Perl files show all the subroutines. Has anyone set this up for Markdown? I tried but could not get it to work.

Does someone have the setup files for this along with setup instructions?

Could this be added to a new version of PSPad in the future?

Thank you.

Options: Reply | Quote | Up ^


#2 Re: How to show outline of Markdown document in Code Explorer?

Posted by: pspad | Date: 2018-02-01 12:22 | IP: IP Logged

Hello

Can I get some example? Maybe some drawing will be usefull for my imagination

Options: Reply | Quote | Up ^


#3 Re: How to show outline of Markdown document in Code Explorer?

Posted by: therium | Date: 2018-02-01 13:33 | IP: IP Logged

Markdown is a "light" formatting markup language that is easy to learn and less visually intrusive than HTML. Markdown can be converted to many other markup languages like HTML, and even EPUB, MOBI, PDF, and Word DOC files. Here is some example Markdown headers which I would like to see in the Code Explorer.

# Header level 1

This is the biggest header and corresponds to <h1>Header level 1.</h1> tags in HTML.

## Header level 2.

This is the second biggest header and corresponds to <h2></h2> in HTML.

### Header 3.

#### Header 4

Most Markdown convertors support 4 levels of headers.

##### Header level 5

Some support 5 levels, which would translate to <h5></h5> in HTML.

You can play with Markdown here: markable.in

This is a Markdown link: &lt;markable.in;.

# Another header 1

So the headers I would like to see in the code explorer might look like this:

# Header level 1
## Header level 2.
### Header 3.
#### Header 4
##### Header level 5
# Another header 1

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR