跳转至

Add links to custom documentation pages(添加自定义文档页面的链接)

You can use standard Markdown syntax to add links to your custom docs. The standard Markdown syntax for adding a link is as follows:

[Display text for link](<link_url_or_reference>)

Linking to a section on a page

The custom documentation supports standard Markdown anchor links to link directly to a Markdown header on a page. For example:

## This is a Markdown header

This [link](#this-is-the-destination-header) goes to the header below.

### This is the destination header

This [link](#this-is-a-markdown-header) goes to the first header in this example.

Linking within the custom docs

You can also link to other custom documentation pages, even if they are in other custom documentation bundles, if you have the product ID for the destination. To do so, use @product-id/page-name in place of a URL in your Markdown link syntax.

For example, if you want to link to the overview of product product-test, you can use the following syntax:

This is a link to the [overview of the product](@product-test/overview).

You can use the same syntax for anchor links on a page as well:

This is a link to a section of the [overview of the product](@product-test/overview#section-header).

This syntax will automatically resolve to the correct link on the stack. If the link does not exist on your enrollment, the link will be replaced by plain text.

Linking outside of the custom docs

You can create links to websites outside the Palantir platform with standard Markdown syntax. We recommend using the character to designate links external to the platform.

[Palantir website ↗](https://www.palantir.com)

中文翻译


添加自定义文档页面的链接

您可以使用标准 Markdown 语法为自定义文档添加链接。添加链接的标准 Markdown 语法如下:

[链接显示文字](<链接URL或引用>)

链接到页面中的某个章节

自定义文档支持使用标准 Markdown 锚点链接(anchor link)直接跳转到页面中的某个 Markdown 标题。例如:

## 这是一个 Markdown 标题

此[链接](#this-is-the-destination-header)将跳转到下方的标题。

### 这是目标标题

此[链接](#this-is-a-markdown-header)将跳转到本示例中的第一个标题。

在自定义文档内部进行链接

您还可以链接到其他自定义文档页面,即使这些页面位于其他自定义文档包(bundle)中,前提是您拥有目标页面的产品 ID(product ID)。具体做法是,在 Markdown 链接语法中使用 @product-id/page-name 替代 URL。

例如,如果您想链接到产品 product-test 的概览页面,可以使用以下语法:

这是指向该产品[概览页面](@product-test/overview)的链接。

您也可以使用相同的语法创建页面内的锚点链接:

这是指向该产品[概览页面中某个章节](@product-test/overview#section-header)的链接。

此语法会自动解析为当前堆栈(stack)上的正确链接。如果该链接在您的注册环境(enrollment)中不存在,则链接会被替换为纯文本。

链接到自定义文档外部

您可以使用标准 Markdown 语法创建指向 Palantir 平台外部网站的链接。建议使用 字符来标识平台外部的链接。

[Palantir 官网 ↗](https://www.palantir.com)