{"id":19388842,"url":"https://github.com/james2doyle/pyro-github-markdown","last_synced_at":"2025-04-23T23:31:48.487Z","repository":{"id":9098429,"uuid":"10877322","full_name":"james2doyle/pyro-github-markdown","owner":"james2doyle","description":"Github flavoured markdown field type for PyroCMS","archived":false,"fork":false,"pushed_at":"2014-06-11T12:52:32.000Z","size":239,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T22:32:40.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/james2doyle.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":"2013-06-23T03:40:07.000Z","updated_at":"2014-06-11T12:52:32.000Z","dependencies_parsed_at":"2022-08-27T23:12:00.127Z","dependency_job_id":null,"html_url":"https://github.com/james2doyle/pyro-github-markdown","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/james2doyle%2Fpyro-github-markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpyro-github-markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpyro-github-markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/james2doyle%2Fpyro-github-markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/james2doyle","download_url":"https://codeload.github.com/james2doyle/pyro-github-markdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250532125,"owners_count":21446122,"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":"2024-11-10T10:13:51.396Z","updated_at":"2025-04-23T23:31:48.107Z","avatar_url":"https://github.com/james2doyle.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"pyro-github-markdown\n====================\n\nGithub flavoured markdown field type for PyroCMS.\n\nMost of the work for this repo is taken from [GitHub-Flavored Markdown Comments](https://github.com/evansolomon/wp-github-flavored-markdown-comments) plugin for Wordpress. That repository is also based on [Michel Fortin's PHP markdown library](https://github.com/michelf/php-markdown/) with added features from [GitHub-flavored Markdown](https://github.com/github/github-flavored-markdown).\n\n*All I did was just bring it all together and make it play nice with Pyro.*\n\n![write your markdown](https://raw.github.com/james2doyle/pyro-github-markdown/master/write.png)\n\n![preview your markdown](https://raw.github.com/james2doyle/pyro-github-markdown/master/preview.png)\n\n### Usage\n\n* Install the field type as normal.\n* Add the field type to a page type or stream\n* Enter in your sexy Github Markdown\n* Just use `{{ the_field_slug }}` to render the HTML\n\n### Examples\n\nInput:\n\n```markdown\nGitHub-Flavored Markdown Comments\n=============================\n\nBased on [Michel Fortin's PHP markdown library](https://github.com/michelf/php-markdown/) with added features from [GitHub-flavored Markdown](https://github.com/github/github-flavored-markdown).\n\n* Single linebreaks are treated as new paragraphs\n* Code \"fencing\" with three backticks (```)\n\n### Heading 3\n\nLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n\n\\`\\`\\`css\n.container {\n  background: red;\n}\n\\`\\`\\`\n\n**so much fun!!**\n```\n\nOutput:\n\n```html\n\u003ch1\u003eGitHub-Flavored Markdown Comments\u003c/h1\u003e\n\n\u003cp\u003eBased on \u003ca href=\"https://github.com/michelf/php-markdown/\"\u003eMichel Fortin's PHP markdown library\u003c/a\u003e with added features from \u003ca href=\"https://github.com/github/github-flavored-markdown\"\u003eGitHub-flavored Markdown\u003c/a\u003e.\u003c/p\u003e\n\n\u003cul\u003e\n\u003cli\u003eSingle linebreaks are treated as new paragraphs\u003c/li\u003e\n\u003cli\u003eCode \"fencing\" with three backticks (```)\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eHeading 3\u003c/h3\u003e\n\n\u003cp\u003eLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\u003c/p\u003e\n\n\u003cpre\u003e\u003ccode\u003e.container {\nbackground: red;\n}\n\u003c/code\u003e\u003c/pre\u003e\n\n\u003cp\u003e\u003cstrong\u003eso much fun!!\u003c/strong\u003e\u003c/p\u003e\n```\n\n### More Info!\n\nIf you need to know more about the caveats of this plugin, please [see the README](https://github.com/evansolomon/wp-github-flavored-markdown-comments/blob/master/README.md) for the original lib.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fpyro-github-markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames2doyle%2Fpyro-github-markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames2doyle%2Fpyro-github-markdown/lists"}