From 4816ebd75399a09e1c2cfbe80abb687c492d2693 Mon Sep 17 00:00:00 2001
From: Yuxi Liu <33951560+yuxi-liu-wired@users.noreply.github.com>
Date: Wed, 8 May 2024 13:41:23 -0700
Subject: [PATCH] [wikitext/en] WikiText (markdown language for Wikipedia)
(#4684)
* wrote wikitext
* wikitext
* wikitext
---
wikitext.html.markdown | 260 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 260 insertions(+)
create mode 100644 wikitext.html.markdown
diff --git a/wikitext.html.markdown b/wikitext.html.markdown
new file mode 100644
index 00000000..65a85a1e
--- /dev/null
+++ b/wikitext.html.markdown
@@ -0,0 +1,260 @@
+---
+language: wikitext
+contributors:
+ - ["Yuxi Liu", "https://github.com/yuxiliu1995/"]
+filename: wikitext.md
+---
+
+A wiki is an online collaboratively edited hypertext publication, the most famous of which is Wikipedia. Wikitext is the markup language used by wikis. Its syntax is similar to a mix of Markdown and HTML.
+
+## Syntax
+
+``
+
+| wikitext | equivalent Markdown | effect |
+| ---- | ---- | ---- |
+| `''italics''` | `*italics*` | *italics* |
+| `'''bold'''` | `**bold**` | **bold** |
+| `'''''both'''''` | `***both***` | ***both*** |
+| `underlined` | `underlined` | underlined |
+| `do not render` | N/A | `do not render` |
+| `inline code snippet
` | \`inline code snippet\` | `inline code snippet` |
+| `----` | `----` | horizontal linebreak |
+| `strikethrough` | `~~strikethrough~~` | ~~strikethrough~~ |
+
+Section headings are bracketed by `=`. They go from `= One equal sign =` to `====== Six equal signs ======`. They are equivalent to Markdown's hashtag headings, from `# One hashtag` to `###### Six hashtags`. Why six in both? I believe it's because HTML has six levels of headings, from `
` to ``.
+
+Note that the `= One equal sign =` heading actually corresponds to the title of the page, and so cannot actually be used within a page. Consequently, the least number of equal signs is `== Two equal signs ==`.
+
+Subscripts and superscripts can be written as `x1` and `x1`. Alternatively they can be written by the `