{"_id":"@quartz-community/ox-hugo","_rev":"2-39fc934dbd29d309ae8d00f05c9bf4e4","name":"@quartz-community/ox-hugo","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"@quartz-community/ox-hugo","version":"0.1.0","keywords":["quartz","quartz-plugin","ox-hugo","hugo","orgmode","markdown"],"author":{"name":"Quartz Community"},"license":"MIT","_id":"@quartz-community/ox-hugo@0.1.0","maintainers":[{"name":"aarnphm","email":"aaron.pham.2k21@gmail.com"},{"name":"saberzero1","email":"github@emilebangma.com"}],"homepage":"https://github.com/quartz-community/ox-hugo","bugs":{"url":"https://github.com/quartz-community/ox-hugo/issues"},"dist":{"shasum":"22bf65994832a9cb58a1123a8ba9b46f0b9b4f66","tarball":"https://registry.npmjs.org/@quartz-community/ox-hugo/-/ox-hugo-0.1.0.tgz","fileCount":7,"integrity":"sha512-1ox/5XmmxSd3q4ojgcP9EXnkuzgobUsblPeSZVrdEc7kearJWUNEMTClI3WVGjbg5z3Vac6zXhzVpo/+yNI8ug==","signatures":[{"sig":"MEUCIQDMjOpiLXVRCvzlnnSV5coYrIWXRBkZQ7uvOyNG/KLx/gIgK190WLc9eQ6/kKGVuG85Ip6XKMBIQGZUJAs8evNjoqM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@quartz-community%2fox-hugo@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1205661},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","quartz":{"name":"ox-hugo","version":"1.0.0","category":"transformer","displayName":"Ox-Hugo","defaultOrder":91,"dependencies":[],"optionSchema":{"wikilinks":{"type":"boolean"},"replaceOrgLatex":{"type":"boolean"},"removeHugoShortcode":{"type":"boolean"},"removePredefinedAnchor":{"type":"boolean"},"replaceFigureWithMdImg":{"type":"boolean"}},"quartzVersion":">=5.0.0","defaultEnabled":false,"defaultOptions":{"wikilinks":true,"replaceOrgLatex":true,"removeHugoShortcode":true,"removePredefinedAnchor":true,"replaceFigureWithMdImg":true}},"engines":{"npm":">=10.9.2","node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"eb8b1abee1179bf26fda037f44431883442a9fb3","scripts":{"dev":"tsup --watch","lint":"eslint . --max-warnings=0","test":"vitest run","build":"tsup","check":"npm run typecheck && npm run lint && npm run format && npm run test","format":"prettier . --check","typecheck":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"saberzero1","email":"github@emilebangma.com"},"repository":{"url":"git+https://github.com/quartz-community/ox-hugo.git","type":"git"},"_npmVersion":"10.9.8","description":"Ox-Hugo flavoured markdown transformer plugin for Quartz","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","dependencies":{"@quartz-community/types":"^0.2.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","eslint":"^8.57.0","preact":"^10.28.2","vitest":"^2.1.9","unified":"^11.0.5","prettier":"^3.6.2","rehype-raw":"^7.0.0","typescript":"^5.9.3","@types/hast":"^3.0.4","@types/node":"^24.10.0","@types/mdast":"^4.0.4","eslint-config-prettier":"^9.1.0","@typescript-eslint/parser":"^7.18.0","@typescript-eslint/eslint-plugin":"^7.18.0"},"peerDependencies":{"preact":"^10.0.0"},"peerDependenciesMeta":{"preact":{"optional":false}},"_npmOperationalInternal":{"tmp":"tmp/ox-hugo_0.1.0_1784761101672_0.7604431796281563","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@quartz-community/ox-hugo","version":"1.0.0","description":"Ox-Hugo flavoured markdown transformer plugin for Quartz","type":"module","license":"MIT","author":{"name":"Quartz Community"},"homepage":"https://github.com/quartz-community/ox-hugo","repository":{"type":"git","url":"git+https://github.com/quartz-community/ox-hugo.git"},"keywords":["quartz","quartz-plugin","ox-hugo","hugo","orgmode","markdown"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"main":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":false,"scripts":{"build":"tsup","dev":"tsup --watch","lint":"eslint . --max-warnings=0","format":"prettier . --check","test":"vitest run","typecheck":"tsc --noEmit","check":"npm run typecheck && npm run lint && npm run format && npm run test","prepublishOnly":"npm run build","release":"npm run build && changeset publish"},"peerDependencies":{"preact":"^10.0.0"},"peerDependenciesMeta":{"preact":{"optional":false}},"dependencies":{"@quartz-community/types":"^1.0.0"},"devDependencies":{"@types/hast":"^3.0.4","@types/mdast":"^4.0.4","@types/node":"^24.10.0","@typescript-eslint/eslint-plugin":"^7.18.0","@typescript-eslint/parser":"^7.18.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","preact":"^10.28.2","prettier":"^3.6.2","rehype-raw":"^7.0.0","tsup":"^8.5.0","typescript":"^5.9.3","unified":"^11.0.5","vitest":"^2.1.9","@changesets/cli":"^2.29.2"},"engines":{"node":">=22","npm":">=10.9.2"},"quartz":{"name":"ox-hugo","displayName":"Ox-Hugo","category":"transformer","version":"1.0.0","quartzVersion":">=5.0.0","dependencies":[],"defaultOrder":91,"defaultEnabled":false,"defaultOptions":{"wikilinks":true,"removePredefinedAnchor":true,"removeHugoShortcode":true,"replaceFigureWithMdImg":true,"replaceOrgLatex":true},"optionSchema":{"wikilinks":{"type":"boolean"},"removePredefinedAnchor":{"type":"boolean"},"removeHugoShortcode":{"type":"boolean"},"replaceFigureWithMdImg":{"type":"boolean"},"replaceOrgLatex":{"type":"boolean"}}},"publishConfig":{"access":"public"},"_id":"@quartz-community/ox-hugo@1.0.0","gitHead":"6107a86a950ca63cd7e9261c77ddbe22b566eef7","bugs":{"url":"https://github.com/quartz-community/ox-hugo/issues"},"_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-aYEk5MO3TckFsPTPISJf78I1t8OcqPXvtTvvjqTCyVzur6mlhDRF5v3jWMm+i3pMwgVe7SDA3ob2WthlY9muWg==","shasum":"0c86be7ed8e6abee245603b4dcf76a0555a25312","tarball":"https://registry.npmjs.org/@quartz-community/ox-hugo/-/ox-hugo-1.0.0.tgz","fileCount":7,"unpackedSize":1208367,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC+VOmJ0tp3xlJ492KW9xij0vZwJAFrjlZv/NkR4BsSCwIhALgaH9kV2YegmCoBAQ6rMPJWkX/8yEidmA8lEXg6UlRj"}]},"_npmUser":{"name":"saberzero1","email":"github@emilebangma.com"},"directories":{},"maintainers":[{"name":"aarnphm","email":"aaron.pham.2k21@gmail.com"},{"name":"saberzero1","email":"github@emilebangma.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ox-hugo_1.0.0_1789428973974_0.2522678969474914"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-22T22:58:21.476Z","modified":"2026-09-14T23:36:14.353Z","0.1.0":"2026-07-22T22:58:21.877Z","1.0.0":"2026-09-14T23:36:14.120Z"},"bugs":{"url":"https://github.com/quartz-community/ox-hugo/issues"},"author":{"name":"Quartz Community"},"license":"MIT","homepage":"https://github.com/quartz-community/ox-hugo","keywords":["quartz","quartz-plugin","ox-hugo","hugo","orgmode","markdown"],"repository":{"type":"git","url":"git+https://github.com/quartz-community/ox-hugo.git"},"description":"Ox-Hugo flavoured markdown transformer plugin for Quartz","maintainers":[{"name":"aarnphm","email":"aaron.pham.2k21@gmail.com"},{"name":"saberzero1","email":"github@emilebangma.com"}],"readme":"# @quartz-community/ox-hugo\n\nTransforms ox-hugo exported markdown to be compatible with Quartz, handling relref links, Hugo shortcodes, figure tags, and org-mode LaTeX.\n\n## Installation\n\n```bash\nnpx quartz plugin add github:quartz-community/ox-hugo\n```\n\n## Usage\n\n```yaml title=\"quartz.config.yaml\"\nplugins:\n  - source: github:quartz-community/ox-hugo\n    enabled: true\n```\n\nFor advanced use cases, you can override in TypeScript:\n\n```ts title=\"quartz.ts (override)\"\nimport * as ExternalPlugin from \"./.quartz/plugins\";\n\nExternalPlugin.OxHugoFlavouredMarkdown({\n  wikilinks: true,\n  removePredefinedAnchor: true,\n});\n```\n\n## Configuration\n\n| Option                   | Type      | Default | Description                                          |\n| ------------------------ | --------- | ------- | ---------------------------------------------------- |\n| `wikilinks`              | `boolean` | `true`  | Whether to parse wikilinks.                          |\n| `removePredefinedAnchor` | `boolean` | `true`  | Whether to remove predefined anchors.                |\n| `removeHugoShortcode`    | `boolean` | `true`  | Whether to remove Hugo shortcodes.                   |\n| `replaceFigureWithMdImg` | `boolean` | `true`  | Whether to replace figure tags with markdown images. |\n| `replaceOrgLatex`        | `boolean` | `true`  | Whether to replace org-mode LaTeX.                   |\n\n## Documentation\n\nSee the [Quartz documentation](https://quartz.jzhao.xyz/plugins/OxHugoFlavoredMarkdown) for more information.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}