{"id":20976918,"url":"https://github.com/pixelbrackets/markdown-mini-page","last_synced_at":"2025-03-13T09:37:43.487Z","repository":{"id":145819704,"uuid":"312870025","full_name":"pixelbrackets/markdown-mini-page","owner":"pixelbrackets","description":"Quickly convert Markdown into a valid HTML5 page with minimal styles","archived":false,"fork":false,"pushed_at":"2020-11-15T21:52:01.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T18:29:38.881Z","etag":null,"topics":["converter","html5","markdown","minimal","page","php"],"latest_commit_sha":null,"homepage":"https://gitlab.com/pixelbrackets/markdown-mini-page","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/pixelbrackets.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-14T17:47:48.000Z","updated_at":"2020-11-25T20:11:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb8ec514-8239-4758-9edc-1747ba133004","html_url":"https://github.com/pixelbrackets/markdown-mini-page","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Fmarkdown-mini-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Fmarkdown-mini-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Fmarkdown-mini-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Fmarkdown-mini-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelbrackets","download_url":"https://codeload.github.com/pixelbrackets/markdown-mini-page/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243381230,"owners_count":20281915,"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":["converter","html5","markdown","minimal","page","php"],"created_at":"2024-11-19T04:56:19.251Z","updated_at":"2025-03-13T09:37:43.461Z","avatar_url":"https://github.com/pixelbrackets.png","language":"PHP","readme":"# Markdown Mini Page\n\n[![Version](https://img.shields.io/packagist/v/pixelbrackets/markdown-mini-page.svg?style=flat-square)](https://packagist.org/packages/pixelbrackets/markdown-mini-page/)\n[![Build Status](https://img.shields.io/gitlab/pipeline/pixelbrackets/markdown-mini-page?style=flat-square)](https://gitlab.com/pixelbrackets/markdown-mini-page/pipelines)\n[![Made With](https://img.shields.io/badge/made_with-php-blue?style=flat-square)](https://gitlab.com/pixelbrackets/markdown-mini-page#requirements)\n[![License](https://img.shields.io/badge/license-gpl--2.0--or--later-blue.svg?style=flat-square)](https://spdx.org/licenses/GPL-2.0-or-later.html)\n[![Contribution](https://img.shields.io/badge/contributions_welcome-%F0%9F%94%B0-brightgreen.svg?labelColor=brightgreen\u0026style=flat-square)](https://gitlab.com/pixelbrackets/markdown-mini-page/-/blob/master/CONTRIBUTING.md)\n\nQuickly convert Markdown into a valid HTML5 page with minimal styles.\n\n![Screenshot](./docs/screenshot.png)\n\n_⭐ You like this package? Please star it or send a tweet. ⭐_\n\n## Vision\n\nThis package converts Markdown content into HTML, wraps a HTML5 document header\nand links a minimal stylesheet. This allows to quickly convert Markdown text\ninto a webpage view.\n\n- Minimal implementation - Three lines of code are enough\n  → 🤗 thanks to [pixelbrackets/html5-mini-template](https://packagist.org/packages/pixelbrackets/html5-mini-template)\n- GitHub Flavored Markdown conversion\n  → 🤗 thanks to [erusev/parsedown](https://packagist.org/packages/erusev/parsedown)\n- GitHub Markdown stylesheet include\n  → 🤗 thanks to [pixelbrackets/gfm-stylesheet](https://gitlab.com/pixelbrackets/gfm-stylesheet/)\n\nSee [»Usage«](#usage) for some examples.\n\nThe package follows the KISS principle.\n\n## Requirements\n\n- PHP\n\n## Installation\n\nPackagist Entry https://packagist.org/packages/pixelbrackets/markdown-mini-page/\n\n## Source\n\nhttps://gitlab.com/pixelbrackets/markdown-mini-page/\n\nMirror https://github.com/pixelbrackets/markdown-mini-page/ (Issues \u0026 Pull\nRequests mirrored to GitLab)\n\n## Demo\n\n🚀 https://markdown-mini-page.app.pixelbrackets.de/\n\n⌨️ [`php tests/demo.php`](./tests/demo.php).\n\n## Usage\n\nThis package supports all options of the\n[pixelbrackets/html5-mini-template](https://packagist.org/packages/pixelbrackets/html5-mini-template)\npackage. For example `setStylesheet()` to overwrite the default stylesheet.\n\n1. Convert a message written in Markdown style into a HTML, wrap into a HTML5\n   document and link a minimal stylesheet\n   ```php\n   $markup = (new \\Pixelbrackets\\MarkdownMiniPage\\MarkdownMiniPage())\n       -\u003esetContent('Hello _Markdown_ World!')\n       -\u003egetMarkup();\n   echo $markup;\n   ```\n\n1. Convert \u0026 wrap a message, set your own stylesheet URL and title\n   ```php\n   $template = (new \\Pixelbrackets\\MarkdownMiniPage\\MarkdownMiniPage())\n       -\u003esetStylesheet('/assets/styles.css')\n       -\u003esetTitle('Index')\n       -\u003esetContent('# Status' . PHP_EOL . 'All Systems Operational');\n   echo $template-\u003egetMarkup();\n   ```\n\n## License\n\nGNU General Public License version 2 or later\n\nThe GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html.\n\n## Author\n\nDan Untenzu (\u003cmail@pixelbrackets.de\u003e / [@pixelbrackets](https://pixelbrackets.de))\n\n## Changelog\n\nSee [CHANGELOG.md](./CHANGELOG.md)\n\n## Contribution\n\nThis script is Open Source, so please use, share, patch, extend or fork it.\n\n[Contributions](./CONTRIBUTING.md) are welcome!\n\n## Feedback\n\nPlease send some [feedback](https://pixelbrackets.de/) and share how this\npackage has proven useful to you or how you may help to improve it.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelbrackets%2Fmarkdown-mini-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelbrackets%2Fmarkdown-mini-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelbrackets%2Fmarkdown-mini-page/lists"}