Add product callout + use it to specify that Markdown docs are for web interface (#53153)

This commit is contained in:
Ben Ahmady 2024-11-19 14:19:15 +00:00 коммит произвёл GitHub
Родитель 7353a87837
Коммит 61c27003b6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
14 изменённых файлов: 14 добавлений и 0 удалений

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: About writing and formatting on GitHub title: About writing and formatting on GitHub
intro: GitHub combines a syntax for formatting text called GitHub Flavored Markdown with a few unique writing features. intro: GitHub combines a syntax for formatting text called GitHub Flavored Markdown with a few unique writing features.
product: '{% data reusables.gated-features.markdown-ui %}'
redirect_from: redirect_from:
- /articles/about-writing-and-formatting-on-github - /articles/about-writing-and-formatting-on-github
- /github/writing-on-github/about-writing-and-formatting-on-github - /github/writing-on-github/about-writing-and-formatting-on-github

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: Basic writing and formatting syntax title: Basic writing and formatting syntax
intro: Create sophisticated formatting for your prose and code on GitHub with simple syntax. intro: Create sophisticated formatting for your prose and code on GitHub with simple syntax.
product: '{% data reusables.gated-features.markdown-ui %}'
redirect_from: redirect_from:
- /articles/basic-writing-and-formatting-syntax - /articles/basic-writing-and-formatting-syntax
- /github/writing-on-github/basic-writing-and-formatting-syntax - /github/writing-on-github/basic-writing-and-formatting-syntax

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: Quickstart for writing on GitHub title: Quickstart for writing on GitHub
intro: 'Learn advanced formatting features by creating a README for your {% data variables.product.prodname_dotcom %} profile.' intro: 'Learn advanced formatting features by creating a README for your {% data variables.product.prodname_dotcom %} profile.'
product: '{% data reusables.gated-features.markdown-ui %}'
versions: versions:
fpt: '*' fpt: '*'
ghes: '*' ghes: '*'

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: About task lists title: About task lists
intro: 'You can use task lists to break the work for an issue or pull request into smaller tasks, then track the full set of work to completion.' intro: 'You can use task lists to break the work for an issue or pull request into smaller tasks, then track the full set of work to completion.'
product: '{% data reusables.gated-features.markdown-ui %}'
redirect_from: redirect_from:
- /github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests/about-task-lists - /github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests/about-task-lists
- /articles/about-task-lists - /articles/about-task-lists

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: Attaching files title: Attaching files
intro: You can convey information by attaching a variety of file types to your issues and pull requests. intro: You can convey information by attaching a variety of file types to your issues and pull requests.
product: '{% data reusables.gated-features.markdown-ui %}'
redirect_from: redirect_from:
- /github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests/file-attachments-on-issues-and-pull-requests - /github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests/file-attachments-on-issues-and-pull-requests
- /articles/issue-attachments - /articles/issue-attachments

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: Autolinked references and URLs title: Autolinked references and URLs
intro: 'References to URLs, issues, pull requests, and commits are automatically shortened and converted into links.' intro: 'References to URLs, issues, pull requests, and commits are automatically shortened and converted into links.'
product: '{% data reusables.gated-features.markdown-ui %}'
redirect_from: redirect_from:
- /articles/autolinked-references-and-urls - /articles/autolinked-references-and-urls
- /github/writing-on-github/autolinked-references-and-urls - /github/writing-on-github/autolinked-references-and-urls

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: Creating a permanent link to a code snippet title: Creating a permanent link to a code snippet
intro: You can create a permanent link to a specific line or range of lines of code in a specific version of a file or pull request. intro: You can create a permanent link to a specific line or range of lines of code in a specific version of a file or pull request.
product: '{% data reusables.gated-features.markdown-ui %}'
redirect_from: redirect_from:
- /github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests/creating-a-permanent-link-to-a-code-snippet - /github/managing-your-work-on-github/managing-your-work-with-issues-and-pull-requests/creating-a-permanent-link-to-a-code-snippet
- /articles/creating-a-permanent-link-to-a-code-snippet - /articles/creating-a-permanent-link-to-a-code-snippet

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: Creating and highlighting code blocks title: Creating and highlighting code blocks
intro: Share samples of code with fenced code blocks and enabling syntax highlighting. intro: Share samples of code with fenced code blocks and enabling syntax highlighting.
product: '{% data reusables.gated-features.markdown-ui %}'
redirect_from: redirect_from:
- /articles/creating-and-highlighting-code-blocks - /articles/creating-and-highlighting-code-blocks
- /github/writing-on-github/creating-and-highlighting-code-blocks - /github/writing-on-github/creating-and-highlighting-code-blocks

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: Creating diagrams title: Creating diagrams
intro: Create diagrams to convey information through charts and graphs intro: Create diagrams to convey information through charts and graphs
product: '{% data reusables.gated-features.markdown-ui %}'
versions: versions:
feature: mermaid feature: mermaid
shortTitle: Create diagrams shortTitle: Create diagrams

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: Organizing information with collapsed sections title: Organizing information with collapsed sections
intro: You can streamline your Markdown by creating a collapsed section with the `<details>` tag. intro: You can streamline your Markdown by creating a collapsed section with the `<details>` tag.
product: '{% data reusables.gated-features.markdown-ui %}'
versions: versions:
fpt: '*' fpt: '*'
ghes: '*' ghes: '*'

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: Organizing information with tables title: Organizing information with tables
intro: 'You can build tables to organize information in comments, issues, pull requests, and wikis.' intro: 'You can build tables to organize information in comments, issues, pull requests, and wikis.'
product: '{% data reusables.gated-features.markdown-ui %}'
redirect_from: redirect_from:
- /articles/organizing-information-with-tables - /articles/organizing-information-with-tables
- /github/writing-on-github/organizing-information-with-tables - /github/writing-on-github/organizing-information-with-tables

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: Using keywords in issues and pull requests title: Using keywords in issues and pull requests
intro: Use keywords to link an issue and pull request or to mark an issue or pull request as a duplicate. intro: Use keywords to link an issue and pull request or to mark an issue or pull request as a duplicate.
product: '{% data reusables.gated-features.markdown-ui %}'
versions: versions:
fpt: '*' fpt: '*'
ghes: '*' ghes: '*'

Просмотреть файл

@ -1,6 +1,7 @@
--- ---
title: Writing mathematical expressions title: Writing mathematical expressions
intro: 'Use Markdown to display mathematical expressions on {% data variables.product.company_short %}.' intro: 'Use Markdown to display mathematical expressions on {% data variables.product.company_short %}.'
product: '{% data reusables.gated-features.markdown-ui %}'
versions: versions:
feature: math feature: math
shortTitle: Mathematical expressions shortTitle: Mathematical expressions

Просмотреть файл

@ -0,0 +1 @@
Markdown can be used in the {% data variables.product.github %} web interface.