Skip to content

parse a directory of markdown files with python 3

License

Notifications You must be signed in to change notification settings

jwhaney/parse-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parse-md

description

a python script to iterate through a directory of markdown files (/md_files), pull frontmatter key/value pairs, and create a csv using the unique keys as fields for all md files.

setup

  • built with python 3.5.2
  • script only requires native os and csv libraries

run it

  1. clone or download this repo
  2. copy and paste your own markdown (.md or .markdown) files to the md_files subdirectory
  3. optional: change the output csv filename (line 87)
  4. open terminal and cd into this repo
  5. type python3 parse-md.py and press enter

About

parse a directory of markdown files with python 3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages