{"id":19571437,"url":"https://github.com/torstendittmann/svelte-markdoc-preprocess","last_synced_at":"2025-04-05T07:06:23.089Z","repository":{"id":182187453,"uuid":"668082930","full_name":"TorstenDittmann/svelte-markdoc-preprocess","owner":"TorstenDittmann","description":"Bring the power of Markdoc right into your Svelte applications!","archived":false,"fork":false,"pushed_at":"2025-03-20T13:15:39.000Z","size":1523,"stargazers_count":67,"open_issues_count":12,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T06:04:55.142Z","etag":null,"topics":["markdoc","svelte"],"latest_commit_sha":null,"homepage":"https://svelte-markdoc-preprocess.pages.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TorstenDittmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-19T01:51:44.000Z","updated_at":"2025-03-20T13:15:24.000Z","dependencies_parsed_at":"2023-10-20T17:07:34.410Z","dependency_job_id":"95c92105-f27d-408b-9874-4518d20c6fdf","html_url":"https://github.com/TorstenDittmann/svelte-markdoc-preprocess","commit_stats":null,"previous_names":["torstendittmann/svelte-markdoc-preprocess"],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TorstenDittmann%2Fsvelte-markdoc-preprocess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TorstenDittmann%2Fsvelte-markdoc-preprocess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TorstenDittmann%2Fsvelte-markdoc-preprocess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TorstenDittmann%2Fsvelte-markdoc-preprocess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TorstenDittmann","download_url":"https://codeload.github.com/TorstenDittmann/svelte-markdoc-preprocess/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299832,"owners_count":20916190,"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":["markdoc","svelte"],"created_at":"2024-11-11T06:18:52.441Z","updated_at":"2025-04-05T07:06:23.062Z","avatar_url":"https://github.com/TorstenDittmann.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003ch3 align=\"center\"\u003esvelte-markdoc-preprocess\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Bring the power of Markdoc right into your Svelte applications!\n    \u003cbr/\u003e\n    \u003cbr/\u003e\n    \u003ca href=\"https://svelte-markdoc-preprocess.pages.dev/\"\u003e\u003cstrong\u003eExplore the docs »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr/\u003e\n    \u003cbr/\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n![Downloads](https://img.shields.io/npm/dw/svelte-markdoc-preprocess?color=dark-green) ![Contributors](https://img.shields.io/github/contributors/torstendittmann/svelte-markdoc-preprocess?color=dark-green) ![Issues](https://img.shields.io/github/issues/torstendittmann/svelte-markdoc-preprocess) ![License](https://img.shields.io/github/license/torstendittmann/svelte-markdoc-preprocess)\n\n## Table Of Contents\n\n- [Getting Started](#getting-started)\n    - [Installation](#installation)\n- [Roadmap](#roadmap)\n- [Contributing](#contributing)\n- [License](#license)\n- [Authors](#authors)\n- [Acknowledgements](#acknowledgements)\n\n## Getting Started\n\n### Installation\n\n1. Install the package:\n\n```sh\nnpm i -D svelte-markdoc-preprocess\n```\n\n2. Add the preprocessor and new extensions to your svelte.config.js:\n\n```js\nimport { markdoc } from 'svelte-markdoc-preprocess';\n\nconst config = {\n    preprocess: [vitePreprocess(), markdoc()],\n    extensions: ['.markdoc', '.svelte'],\n};\n```\n\n3. Use it\n\n```md\n\u003c!-- +page.markdoc --\u003e\n\n# I am a heading\n\nI am a paragraph with **bold** words. But you can also use Svelte Components:\n```\n\n## Roadmap\n\nSee the [open issues](https://github.com/torstendittmann/svelte-markdoc-preprocess/issues) for a list of proposed features (and known issues).\n\n## Contributing\n\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n- If you have suggestions for adding or removing projects, feel free to [open an issue](https://github.com/torstendittmann/svelte-markdoc-preprocess/issues/new) to discuss it, or directly create a pull request after you edit the _README.md_ file with necessary changes.\n- Please make sure you check your spelling and grammar.\n- Create individual PR for each suggestion.\n- Please also read through the [Code Of Conduct](https://github.com/torstendittmann/svelte-markdoc-preprocess/blob/main/CODE_OF_CONDUCT.md) before posting your first idea as well.\n\n### Creating A Pull Request\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorstendittmann%2Fsvelte-markdoc-preprocess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorstendittmann%2Fsvelte-markdoc-preprocess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorstendittmann%2Fsvelte-markdoc-preprocess/lists"}