{"id":20496512,"url":"https://github.com/justforuse/vuepress-plugin-markdown-define2","last_synced_at":"2025-06-10T19:09:24.384Z","repository":{"id":44353853,"uuid":"512154937","full_name":"justforuse/vuepress-plugin-markdown-define2","owner":"justforuse","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-09T14:47:20.000Z","size":63,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-11T04:11:14.260Z","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":null,"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":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-09T10:17:51.000Z","updated_at":"2023-03-07T05:32:52.000Z","dependencies_parsed_at":"2022-09-26T21:21:02.651Z","dependency_job_id":null,"html_url":"https://github.com/justforuse/vuepress-plugin-markdown-define2","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/justforuse%2Fvuepress-plugin-markdown-define2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justforuse%2Fvuepress-plugin-markdown-define2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justforuse%2Fvuepress-plugin-markdown-define2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justforuse%2Fvuepress-plugin-markdown-define2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justforuse","download_url":"https://codeload.github.com/justforuse/vuepress-plugin-markdown-define2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justforuse%2Fvuepress-plugin-markdown-define2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259132087,"owners_count":22810498,"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:31.502Z","updated_at":"2025-06-10T19:09:24.337Z","avatar_url":"https://github.com/justforuse.png","language":"JavaScript","readme":"# Vuepress-plugin-markdown-define2\n\nDefine variables in markdown for Vuepress 2.\n\n[![npm](https://img.shields.io/npm/v/vuepress-plugin-markdown-define2.svg) ![npm](https://img.shields.io/npm/dm/vuepress-plugin-markdown-define2.svg)](https://www.npmjs.com/package/vuepress-plugin-markdown-define2)\n[![vuepress-next](https://img.shields.io/badge/vuepress-2.x-brightgreen.svg)](https://vuejs.org/)\n\n## Install\n\n```\nnpm install vuepress-plugin-markdown-define2 -D\n```\n\n## Usage\n\nin `config.js`\n\n```js\nconst MdDefinePlugin = require('vuepress-plugin-markdown-define2')\n\nconst CONSTS = {\n  __VERSION__: require('../../package.json').version\n}\n\nmodule.exports = {\n  // ...\n  plugins: [\n    MdDefinePlugin(CONSTS)\n  ]\n}\n\n```\n\nYour `.md` file source code:\n\n```md\nCurrent version is __VERSION__\n```\n\nwill rendered as:\n\n```md\nCurrent version is 1.0.0\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustforuse%2Fvuepress-plugin-markdown-define2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustforuse%2Fvuepress-plugin-markdown-define2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustforuse%2Fvuepress-plugin-markdown-define2/lists"}