Title: support the the `":include"` helper, or similar, for _sidebar and _navbar. · Issue #1978 · docsifyjs/docsify · GitHub
Open Graph Title: support the the `":include"` helper, or similar, for _sidebar and _navbar. · Issue #1978 · docsifyjs/docsify
X Title: support the the `":include"` helper, or similar, for _sidebar and _navbar. · Issue #1978 · docsifyjs/docsify
Description: Feature request What problem does this feature solve? To include an external page, one must create a new markdown file with the [include](//foo.com/foo ':include') inside of it, then they can link to the local file from the sidebar. That...
Open Graph Description: Feature request What problem does this feature solve? To include an external page, one must create a new markdown file with the [include](//foo.com/foo ':include') inside of it, then they can link ...
X Description: Feature request What problem does this feature solve? To include an external page, one must create a new markdown file with the [include](//foo.com/foo ':include') inside of it, then they c...
Opengraph URL: https://github.com/docsifyjs/docsify/issues/1978
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"support the the `\":include\"` helper, or similar, for _sidebar and _navbar.","articleBody":"\u003c!-- Please don't delete this template or we'll close your issue -->\r\n\u003c!-- Please use English language -->\r\n\u003c!-- Before creating an issue please make sure you are using the latest version of Docsify. -->\r\n\u003c!-- Please ask questions on StackOverflow 👉 https://stackoverflow.com/questions/ask?tags=docsify -->\r\n\r\n## Feature request\r\n\r\n#### What problem does this feature solve?\r\n\r\nTo include an external page, one must create a new markdown file with the `[include](//foo.com/foo ':include')` inside of it, then they can link to the local file from the sidebar. That's a lot of work.\r\n\r\n#### What does the proposed API look like?\r\n\r\nAn update would allow us to include directly from sidebar or navbar, like so:\r\n\r\n```markdown\r\n\u003c!-- _sidebar.md -->\r\n\r\n- Menu:\r\n - [Page from outside](https://outside.com/foo.md \":include\")\r\n```\r\n\r\nThis would cause the sidebar link to load the content from the outside location, and we don't need to make a wrapper file.\r\n\r\n#### How should this be implemented in your opinion?\r\n\r\nNeed to update the sidebar and navbar compilers to support features like main compiler. The code is already duplicated twice between client renderer and server renderer, and we don't want more duplicates, so we would need to consolidate code and re-use it well.\r\n\r\n#### Are you willing to work on this yourself?\r\n","author":{"url":"https://github.com/trusktr","@type":"Person","name":"trusktr"},"datePublished":"2023-01-26T06:55:56Z","url":"https://github.com/docsifyjs/docsify/issues/1978"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a40c5296-a5d3-4acf-09ee-5164c05b27b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7BC:1C4A60:A7F7FF:E6EB1F:6AFD37FA |
| html-safe-nonce | 622f041409703dbacbf665422aac307869cdd9c1ad9ef1bf402b11ed18ffcbd0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0JDOjFDNEE2MDpBN0Y3RkY6RTZFQjFGOjZBRkQzN0ZBIiwidmlzaXRvcl9pZCI6Ijg2NDE3NzQ1NjEyOTQ4OTEwMDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 319593f92bb69f088c10e6646662e684bf75000494fff96cec730acbc24d8beb |
| hovercard-subject-tag | issue:1557701574 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docsifyjs/docsify/1978/issue_layout |
| twitter:image | https://opengraph.githubassets.com/65dc9b15ce1155316e989300021879563db2f46134f164b46499b85837ff4790/docsifyjs/docsify/issues/1978 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/65dc9b15ce1155316e989300021879563db2f46134f164b46499b85837ff4790/docsifyjs/docsify/issues/1978 |
| og:image:alt | Feature request What problem does this feature solve? To include an external page, one must create a new markdown file with the [include](//foo.com/foo ':include') inside of it, then they can link ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | trusktr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/docsifyjs/docsify git https://github.com/docsifyjs/docsify.git |
| octolytics-dimension-user_id | 40133106 |
| octolytics-dimension-user_login | docsifyjs |
| octolytics-dimension-repository_id | 74260508 |
| octolytics-dimension-repository_nwo | docsifyjs/docsify |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 74260508 |
| octolytics-dimension-repository_network_root_nwo | docsifyjs/docsify |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width