{"id":20496501,"url":"https://github.com/justforuse/vitepress-plugin-markdown-define","last_synced_at":"2025-03-05T18:28:52.718Z","repository":{"id":182940094,"uuid":"656532080","full_name":"justforuse/vitepress-plugin-markdown-define","owner":"justforuse","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-21T07:49:44.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T08:42:13.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/justforuse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-21T06:22:54.000Z","updated_at":"2024-06-01T12:05:03.000Z","dependencies_parsed_at":"2023-07-22T07:18:59.216Z","dependency_job_id":null,"html_url":"https://github.com/justforuse/vitepress-plugin-markdown-define","commit_stats":null,"previous_names":["justforuse/vitepress-plugin-markdown-define"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justforuse%2Fvitepress-plugin-markdown-define","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justforuse%2Fvitepress-plugin-markdown-define/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justforuse%2Fvitepress-plugin-markdown-define/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justforuse%2Fvitepress-plugin-markdown-define/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justforuse","download_url":"https://codeload.github.com/justforuse/vitepress-plugin-markdown-define/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242078691,"owners_count":20068591,"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-15T18:07:27.365Z","updated_at":"2025-03-05T18:28:52.699Z","avatar_url":"https://github.com/justforuse.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://vitejs.dev/logo.svg\" height=\"150\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\nvitepress-plugin-markdown-define\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\nDoc for vitepress-plugin-markdown-define.\n\u003cp\u003e\n\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/vitepress-plugin-markdown-define\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/vitepress-plugin-markdown-define\" alt=\"npm\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Install\n\n```sh\nnpm install vitepress-plugin-markdown-define -D\n```\n\n\n## How to use\n\nIn your `config.ts`\n\n```ts\nimport useDefinePlugin from 'vitepress-plugin-markdown-define'\n\nconst CONSTS = {\n  __custom_variable__: 'your value'\n}\n\nexport default defineConfig({\n  markdown: {\n    config(md) {\n      useDefinePlugin(md, CONSTS)\n    },\n  },\n})\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustforuse%2Fvitepress-plugin-markdown-define","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustforuse%2Fvitepress-plugin-markdown-define","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustforuse%2Fvitepress-plugin-markdown-define/lists"}