{"id":17871871,"url":"https://github.com/chris2011/nuxt-asciidoc","last_synced_at":"2025-03-21T19:31:34.578Z","repository":{"id":207918207,"uuid":"659235977","full_name":"Chris2011/nuxt-asciidoc","owner":"Chris2011","description":"Transformer for using asciidoc in nuxt","archived":false,"fork":false,"pushed_at":"2024-10-11T21:49:06.000Z","size":697,"stargazers_count":4,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T13:37:19.563Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Chris2011.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-27T12:06:14.000Z","updated_at":"2024-10-13T19:21:48.000Z","dependencies_parsed_at":"2024-01-08T13:00:41.567Z","dependency_job_id":"1756c474-3e65-4e0b-8462-d51655ceb181","html_url":"https://github.com/Chris2011/nuxt-asciidoc","commit_stats":null,"previous_names":["chris2011/nuxt-asciidoc"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris2011%2Fnuxt-asciidoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris2011%2Fnuxt-asciidoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris2011%2Fnuxt-asciidoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris2011%2Fnuxt-asciidoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chris2011","download_url":"https://codeload.github.com/Chris2011/nuxt-asciidoc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244855474,"owners_count":20521650,"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-10-28T10:39:26.775Z","updated_at":"2025-03-21T19:31:34.149Z","avatar_url":"https://github.com/Chris2011.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nGet your module up and running quickly.\n\nFind and replace all on all files (CMD+SHIFT+F):\n- Name: nuxt-asciidoc\n- Package name: nuxt-asciidoc\n- Description: If you like asciidoc more than markdown, this plugin is exactly for you.\n--\u003e\n\n# nuxt-asciidoc\n\n![nuxt-asciidoc-logo](./nuxt-asciidoc.svg)\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![License][license-src]][license-href]\n[![Nuxt][nuxt-src]][nuxt-href]\n\nIf you like asciidoc more than markdown, this plugin is exactly for you.\n\n- [✨ \u0026nbsp;Release Notes](/CHANGELOG.md)\n\u003c!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) --\u003e\n\u003c!-- - [📖 \u0026nbsp;Documentation](https://example.com) --\u003e\n\n## Features\n\n\u003c!-- Highlight some of the features your module provide here --\u003e\n- ⛰ \u0026nbsp;It can handle .adoc and there corresponding file extensions and render them.\n\n## Known Problems\n\n- `include` will not include the content of another file, it will just make a link out of it. You can see it in the screenshot.\n\n## Screenshot\n\n![nuxt-asciidoc](./screenshots/nuxt-asciidoc.png)\n\n## Quick Setup\n\n1. Add `nuxt-asciidoc` dependency to your project\n\n```bash\nnpx nuxi@latest module add nuxt-asciidoc\n```\n\n2. Add `nuxt-asciidoc` to the `modules` section, before the `@nuxt/content`  of `nuxt.config.ts`\n\n```js\nexport default defineNuxtConfig({\n  modules: [\n    'nuxt-asciidoc',\n    ...\n    '@nuxt/content'\n  ]\n})\n```\n\nThat's it! You can now use My Module in your Nuxt app ✨\n\n## Example\n\nview: pages/imprint.vue + corresponding content file: content/imprint.adoc\n```vue\n\u003cscript setup\u003e\nconst { data } = await useAsyncData(\"imprint\", () =\u003e\n  queryContent(\"/imprint\").findOne()\n);\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cmain\u003e\n    \u003cContentDoc v-slot=\"{ doc }\"\u003e\n      \u003cdiv v-html=\"doc.body\"\u003e\u003c/div\u003e\n    \u003c/ContentDoc\u003e\n  \u003c/main\u003e\n\u003c/template\u003e\n```\n\n## Development (npm, yarn, pnpm)\n\n```bash\n# Install dependencies\nnpm install\n\n# Generate type stubs\nnpm run dev:prepare\n\n# Develop with the playground\nnpm run dev\n\n# Build the playground\nnpm run dev:build\n\n# Run ESLint\nnpm run lint\n\n# Run Vitest\nnpm run test\nnpm run test:watch\n\n# Release new version\nnpm run release\n```\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/nuxt-asciidoc/latest.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-version-href]: https://npmjs.com/package/nuxt-asciidoc\n\n[npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-asciidoc.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-downloads-href]: https://npmjs.com/package/nuxt-asciidoc\n\n[license-src]: https://img.shields.io/npm/l/nuxt-asciidoc.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[license-href]: https://npmjs.com/package/nuxt-asciidoc\n\n[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js\n[nuxt-href]: https://nuxt.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris2011%2Fnuxt-asciidoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchris2011%2Fnuxt-asciidoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris2011%2Fnuxt-asciidoc/lists"}