{"id":22520729,"url":"https://github.com/jkwill87/remark-obj-loader","last_synced_at":"2026-05-13T23:37:40.367Z","repository":{"id":57353048,"uuid":"300044827","full_name":"jkwill87/remark-obj-loader","owner":"jkwill87","description":"A markdown loader for WebPack using remark","archived":false,"fork":false,"pushed_at":"2020-10-03T07:57:38.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T07:07:18.706Z","etag":null,"topics":["hacktoberfest","loader","webpack"],"latest_commit_sha":null,"homepage":"","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/jkwill87.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":"2020-09-30T19:53:51.000Z","updated_at":"2020-10-03T07:57:41.000Z","dependencies_parsed_at":"2022-09-18T23:21:58.211Z","dependency_job_id":null,"html_url":"https://github.com/jkwill87/remark-obj-loader","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/jkwill87%2Fremark-obj-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkwill87%2Fremark-obj-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkwill87%2Fremark-obj-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkwill87%2Fremark-obj-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkwill87","download_url":"https://codeload.github.com/jkwill87/remark-obj-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245961115,"owners_count":20700845,"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":["hacktoberfest","loader","webpack"],"created_at":"2024-12-07T05:08:26.561Z","updated_at":"2025-10-12T22:44:33.282Z","avatar_url":"https://github.com/jkwill87.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remark-obj-loader\n\nA markdown loader for WebPack using [remark](https://github.com/remarkjs/remark). It exports an object contain two entries:\n\n- **`html`**: containing the HTML representation of markdown\n- **`attrs`**: containing frontmatter attributes\n\n\n## Installation instructions\n\n- **npm**: `npm install -D remark remark-obj-loader`\n- **yarn**: `yarn add -D remark remark-obj-loader`\n\n\n## Options\n\nremark-obj-loader has a single option: **`plugins`**. Any passed [remark plugins](https://github.com/remarkjs/remark/blob/main/doc/plugins.md) will be applied to the markdown body before being converted into html.\n\n\n## Configuration Examples\n\n### `webpack.config.js`\n``` javascript\nconst RemarkFencedDivs = require('remark-fenced-divs')\nconst RemarkUnwrapImages = require('remark-unwrap-images')\n\nmodule.exports = {\n  //...\n  module: {\n    rules: [\n      {\n        test: /\\.md$/,\n        use: [\n          {\n            loader: 'remark-obj-loader',\n            options: {\n              plugins: [RemarkFencedDivs, RemarkUnwrapImages]\n            }\n          }\n        ]\n      }\n    ]\n  }\n  // ...\n}\n```\n\n### `vue.config.js`\n\n``` javascript\nconst RemarkFencedDivs = require('remark-fenced-divs')\nconst RemarkUnwrapImages = require('remark-unwrap-images')\n\nmodule.exports = {\n  // ...\n  chainWebpack: config =\u003e {\n    config.module\n      .rule('markdown')\n      .test(/\\.md$/)\n      .use('remark-obj-loader')\n      .loader('remark-obj-loader')\n      .options({\n        plugins: [\n          RemarkFencedDivs,\n          RemarkUnwrapImages\n        ]\n      })\n  },\n  // ...\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkwill87%2Fremark-obj-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkwill87%2Fremark-obj-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkwill87%2Fremark-obj-loader/lists"}