Markdown Cli

edit✏️

πŸŽ„This post has fully grown


This is a post that may be a work in progress for awhile, Its a collections of thoughts on managing my blog, but could be translated into anythiung that is just a collection of markdown.

Listing things

  • posts
  • tags
  • draft posts

data

  • frontmatter
  • filepath
  • content
  • template
  • html

render content

  • Markdown.Markdown
  • support extentsions

frontmatter cleaning.

  • provide ways to hook in or clean up the frontmatter

Markata.Markata methods

  • load
  • render
  • save

Markata.Post methods

  • load
  • render
  • save

Markata plugins

  • before_load
  • beforepostload
  • after_load
  • afterpostload
  • before_save
  • beforepostsave
  • after_save
  • afterpostsave

Markata plugins

  • cleanse_frontmatter
  • html_feed
  • json_feed
  • rss_feed
  • save_posts

CLI

$ markata list tags

python
data
$ markata

[
  { 
    "title": "post title",
    "description": "this is a post",
    "filepath": "path_to.md",
    "content": "the content of the post",
    "html": "<p>the content of the post</p>"
    },
    ...
]


πŸ‘€ see an issue, edit this post on GitHub

If you found value in this post
and want to send a tip.

Buy Me A Coffee



tweet about this post and it will show up here.

    loading
←An IndieWeb Webring πŸ•ΈπŸ’β†’

.