From 3ba7b5f2558df30c938df01d5a37cf1a2a9b41d6 Mon Sep 17 00:00:00 2001 From: Ranul Date: Thu, 12 May 2022 05:16:13 +0530 Subject: [PATCH] Update to "Styling text" section - Added writing superscript syntax on GitHub markdowns for inline text to be displayed as superscript - Added writing subscript syntax on GitHub markdowns for inline text to be displayed as subscript Reference Issue: #17618 --- .../basic-writing-and-formatting-syntax.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md b/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md index 3446f690ed..c4f4a768cc 100644 --- a/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md +++ b/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md @@ -31,7 +31,7 @@ When you use two or more headings, GitHub automatically generates a table of con ## Styling text -You can indicate emphasis with bold, italic, or strikethrough text in comment fields and `.md` files. +You can indicate emphasis with bold, italic, strikethrough, subscript, or superscript text in comment fields and `.md` files. | Style | Syntax | Keyboard shortcut | Example | Output | | --- | --- | --- | --- | --- | @@ -40,6 +40,8 @@ You can indicate emphasis with bold, italic, or strikethrough text in comment fi | Strikethrough | `~~ ~~` | | `~~This was mistaken text~~` | ~~This was mistaken text~~ | | Bold and nested italic | `** **` and `_ _` | | `**This text is _extremely_ important**` | **This text is _extremely_ important** | | All bold and italic | `*** ***` | | `***All this text is important***` | ***All this text is important*** | +| Subscript | ` ` | | `This is a subscript text` | This is a subscript text | +| Superscript | ` ` | | `This is a superscript text` | This is a superscript text | ## Quoting text