{"id":20551315,"url":"https://github.com/quacksouls/honkit-plugin-exercise","last_synced_at":"2025-06-14T15:39:36.638Z","repository":{"id":168110265,"uuid":"643749258","full_name":"quacksouls/honkit-plugin-exercise","owner":"quacksouls","description":"Formatting exercises/problems in HonKit","archived":false,"fork":false,"pushed_at":"2023-05-23T01:33:44.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T16:59:39.856Z","etag":null,"topics":["gitbook","gitbook-plugin","honkit","honkit-plugin","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quacksouls.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-22T04:37:45.000Z","updated_at":"2023-05-23T01:45:41.000Z","dependencies_parsed_at":"2023-06-08T10:15:35.539Z","dependency_job_id":null,"html_url":"https://github.com/quacksouls/honkit-plugin-exercise","commit_stats":null,"previous_names":["quacksouls/honkit-plugin-exercise"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quacksouls%2Fhonkit-plugin-exercise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quacksouls%2Fhonkit-plugin-exercise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quacksouls%2Fhonkit-plugin-exercise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quacksouls%2Fhonkit-plugin-exercise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quacksouls","download_url":"https://codeload.github.com/quacksouls/honkit-plugin-exercise/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242157192,"owners_count":20081037,"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":["gitbook","gitbook-plugin","honkit","honkit-plugin","javascript"],"created_at":"2024-11-16T02:29:56.166Z","updated_at":"2025-03-06T05:46:54.661Z","avatar_url":"https://github.com/quacksouls.png","language":"JavaScript","readme":"# HonKit plugin: exercise\n\nFormats and numbers each exercise. Numbering is automatic and starts at 1. An\nexercise can be labelled to allow for cross-referencing.\n\n## Installation\n\nInstall via npm:\n\n```sh\nnpm install honkit-plugin-exercise --save-dev\n```\n\nAdd the plugin to your `book.json`:\n\n```js\n{\n    plugins: [ \"exercise\" ]\n}\n```\n\n## Usage\n\nAn exercise is added by the block:\n\n```\n{% exercise %}{% endexercise %}\nInsert your exercise text here.\n```\n\nTo help cross-reference an exercise, you can add a label. The label text should\nnot have any white spaces.\n\n```\n{% exercise label=\"my_label\" %}{% endexercise %}\nInsert your exercise text here.\n```\n\nFor example, the following exercise blocks\n\n```\n{% exercise %}{% endexercise %}\nWhat Is the airspeed velocity of an unladen swallow?\n\n{% exercise label=\"a_label\" %}{% endexercise %}\nWhat do you mean? An African or a European swallow?\n```\n\nwould be rendered as\n\n![Unladen swallow](example.png \"Unladen swallow\")\n\nCross-reference an exercise like how you cross-reference a section in a Markdown\nfile. In the above example, the exercise having the label `\"a_label\"` can be\ncross-referenced as:\n\n```\n[this exercise](/path/to/file.md#a_label)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquacksouls%2Fhonkit-plugin-exercise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquacksouls%2Fhonkit-plugin-exercise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquacksouls%2Fhonkit-plugin-exercise/lists"}