{"id":15495113,"url":"https://github.com/samchon/gitbook-plugin-import","last_synced_at":"2025-02-25T21:23:24.950Z","repository":{"id":57146855,"uuid":"209460049","full_name":"samchon/gitbook-plugin-import","owner":"samchon","description":"Import content from other files","archived":false,"fork":false,"pushed_at":"2019-09-27T00:40:22.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T04:34:19.097Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samchon.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}},"created_at":"2019-09-19T04:08:09.000Z","updated_at":"2019-09-27T00:40:24.000Z","dependencies_parsed_at":"2022-08-29T20:51:30.096Z","dependency_job_id":null,"html_url":"https://github.com/samchon/gitbook-plugin-import","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Fgitbook-plugin-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Fgitbook-plugin-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Fgitbook-plugin-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samchon%2Fgitbook-plugin-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samchon","download_url":"https://codeload.github.com/samchon/gitbook-plugin-import/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240748404,"owners_count":19851257,"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-02T08:16:08.952Z","updated_at":"2025-02-25T21:23:24.921Z","avatar_url":"https://github.com/samchon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Import\n## Gitbook Plugin\nImport contents from other documents\n\n## Installation\nOpen the book.json and insert `import` value into the plugins variabl\n\n```json\n{\n    \"plugins\": [\"import\"]\n}\n```\n\n## Usage\nWrite `\u003c!-- @import(\"path\") --\u003e` down to markdown file.\n\nIf you want to use templates, then define dictionary as `\u003c!-- @templates([ [\"key, \"value\"], [\"key, \"value\"] ]) --\u003e` and write `${{ key }}` down to content.\n\n```md\n\u003c!-- @templates([\n    [\"name\", \"Jeongho Nam\"],\n    [\"github\", \"https://github.com/samchon\"],\n    [\"email\", \"samchon@samchon.org\"]\n]) --\u003e\n\n# My Content\n## Introduction\nHello, my name is ${{ name }} and my github address is $ {{ github }}. If you want to contact me, mail to ${{ email }}.\n\n## External Content\n\u003c!-- @import(\"internal/detail.md\") --\u003e\n\n## Remote Content\n\u003c!-- @import(\"https://raw.githubusercontent.com/samchon/tstl/master/src/container/TreeMap.ts\") --\u003e\n\n## Partial Content\n\u003c!-- @import(\"internal/story.md#L7-L24\") --\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamchon%2Fgitbook-plugin-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamchon%2Fgitbook-plugin-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamchon%2Fgitbook-plugin-import/lists"}