{"id":24433100,"url":"https://github.com/ap--/mdpp","last_synced_at":"2025-03-13T20:23:25.516Z","repository":{"id":15306807,"uuid":"18036669","full_name":"ap--/mdpp","owner":"ap--","description":"one file markdown preprocessor","archived":false,"fork":false,"pushed_at":"2014-05-21T14:57:54.000Z","size":164,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-20T16:06:05.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"CADBOT/docker-livelessons-notes","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ap--.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-23T15:45:11.000Z","updated_at":"2014-05-21T14:57:55.000Z","dependencies_parsed_at":"2022-08-25T13:24:13.126Z","dependency_job_id":null,"html_url":"https://github.com/ap--/mdpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap--%2Fmdpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap--%2Fmdpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap--%2Fmdpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ap--%2Fmdpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ap--","download_url":"https://codeload.github.com/ap--/mdpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243475330,"owners_count":20296714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-20T16:02:54.401Z","updated_at":"2025-03-13T20:23:25.503Z","avatar_url":"https://github.com/ap--.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Markdown Preprocessor #\n\nI created this markdown preprocessor, because I didn't like \n[gpp](http://en.nothingisreal.com/wiki/GPP) and it was quicker to write this\nthan looking for something else, or implementing my favorite syntax in other\npreprocessors.\n\nIf you're looking for alternatives, check out\n[Markdown-PP](https://github.com/jreese/markdown-pp) or\n[zang](https://github.com/32bitkid/zang).\n\n## mdpp ##\n\nIt's one file, and really dead simple. Strings are parsed in the following way:\n\n  * markdown **\"\\\u003c\\!--@\"** and **\"@--\\\u003e\"** are used to encapsulate the commands\n    ```    \n    \u003c!--@ COMANDNAME ARGUMENTS @--\u003e\n    ```\n  * In python it looks up _COMANDNAME_ in a _dict_ which returns a function \n    that does something with _ARGUMENTS_ and returns a string.\n\nJust run\n\n~~~ {.bash}\n./mdpp myfile.md\n~~~\n\nYou can exclude commands by specifying \n\n~~~ {.bash}\n./mdpp --without .INCLUDECODE --without .OPTIONALFIGURE myfile.md\n~~~\n\nPiping:\n\n~~~ {.bash}\ncat example.md | ./mdpp -\n~~~\n\nListing available commands:\n\n~~~ {.bash}\n./mdpp --list\n~~~\n\nRemove unknown commands from code:\n\n~~~ {.bash}\n./mdpp --clean\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fap--%2Fmdpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fap--%2Fmdpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fap--%2Fmdpp/lists"}