跳到导航

链接目标属性

Control where links open with the target property. Available for product, tab, navbar, and page links. For typical documentation sites, links can open in the same tab (_self) or new tab (_blank). For documentation embedded in a dashboard or iframe, links can open in the parent frame (_parent) or topmost frame (_top).

docs.yml
navigation:
- section: Home
contents:
- page: Introduction
path: ./intro.mdx
- link: Our YouTube channel
href: https://www.youtube.com/
target: _blank
阅读文档