Skip to content

Convert Hashnode export JSON into single markdown files with frontmatter and downloads of your cover images

Notifications You must be signed in to change notification settings

devidw/hashnode-export-to-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hashnode Export to Markdown

Convert your .json export from Hashnode back into individual .md files including frontmatter and image downloads of you cover images from Hashnode.

Configuration

export_path = 'devid-stories.json' # Hashnode export file
media_path = 'posts/media' # directory, where cover image should be saved to
posts_path = '../hashnode-articles/' # directory, where articles should be saved to
config = {
    'domain': 'xn--david-9u04d.to', # frontmatter domain
    'media_url': 'https://david.wolf.gdn/media', # new prefix for the downloaded media files
}

About

Convert Hashnode export JSON into single markdown files with frontmatter and downloads of your cover images

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages