Skip to content
/ md2dict Public

experiment to convert markdown to python dict

Notifications You must be signed in to change notification settings

lee212/md2dict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

md2dict

As part of developing awesome list importer, md2dict reads markdown pages and generates python dict data structure. With this, markdown awesome list will be imported to python in dict.

First approach is simple. we expect to see a markdown file in this format:

	# title
	description

	# section header 1
	## subsection header
	- [name](url) - description
	
	# section header 2
	## subsection header
	- [name](url) - description
	  - [name](url) - description
	- [name](url) - description

which will be converted to:


	{ title:
		{ section header 1:
			{ subsection header:
				[ { name: url } ]
			}
		{ section header 2:
			{ subsection header:
				[ 
				{ name: url },
				{ name: url } 
				]
			}
		}
	}

See example directory for the first results.

About

experiment to convert markdown to python dict

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages