Post History
#4: Post edited
- <p>Codidact uses the <a href="https://commonmark.org">CommonMark implementation</a> of Markdown for formatting posts.</p>
- <h3 id="-italics-"><strong>Italics</strong></h3>
- <p> You can <em>italicize</em> a word by placing a single asterisk (<code>*</code>) or single underscore (<code>_</code>) around a word. Either <code>*Codidact*</code> or <code>_Codidact_</code> will render as <em>Codidact</em>.</p>
- <h3 id="-bold-"><strong>Bold</strong></h3>
- <p> You can <strong>bold</strong> a word by placing a double asterisk or double underscore around that word. Either <code>**Codidact**</code> or <code>__Codidact__</code> will render as <strong>Codidact</strong>.</p>
- <h3 id="-monospace-code-formatting-"><strong>Monospace / code formatting</strong></h3>
- <p> To make a word monospace, you can surround it with a single backtick (<code>`</code>). This is generally used for code formatting. (Some people use this for emphasis. Don't do that! Screen readers will read out words formatted as code character by character - use <em>italics</em> or <strong>bold</strong> for emphasis instead.)</p>
- <p> To mark several lines as code, you can use a code fence. This is three backticks on a newline both on top and at the bottom of your lines of code. Don't use this for quotes - see below for guidance on quote formatting.</p>
- <h3 id="-links-"><strong>Links</strong></h3>
- <p> You can generate a link using one of two methods. One way is to encase your link text in square brackets (<code>[ ]</code>) and then the target URL in parentheses (<code>( )</code>). <code>[Codidact](https://codidact.org)</code> will render as <a href="https://codidact.org">Codidact</a>.</p>
- <p> You can also format a link with the inline text being <code>[Codidact][1]</code>, and then at the bottom of the post include the URL with the format <code>[1]: https://codidact.org</code>. This will look something like this:</p>
- <pre><code>
- You can check out [<span class="hljs-string">Codidact</span>][<span class="hljs-symbol">1</span>] for an open-source, community-oriented Q&A platform!
- [1]: https://codidact.org`
- </code></pre><p> Which will render like this:</p>
- <blockquote>
- <p>You can check out [Codidact][1] for an open-source, community-oriented Q&A platform!</p>
- <p>[1]: <a href="https://codidact.org">https://codidact.org</a></p>
- </blockquote>
- <p> If you'd like to include rollover text for your link, you can put your text, surrounded by quote marks (<code>"</code>), into the URL of your link. For instance, <code>[Codidact](https://codidact.org "The open-source Q&A platform")</code> will create a link with <code>The open-source Q&A platform</code> as the rollover text.</p>
- <h3 id="-blockquotes-"><strong>Blockquotes</strong></h3>
- <p> When quoting text from somewhere else, you can use a blockquote to signify that this is not your original text, but a quote from somewhere else. Put a greater than symbol (<code>></code>), followed by a space, before a paragraph to mark that quote as a blockquote. For instance, <code>> This is a blockquote!</code> will render as a quote:</p>
- <blockquote>
- <p>This is a blockquote!</p>
- </blockquote>
- <p> If you want to include a second paragraph as part of the same quote, you have to include another <code>></code> before each line, like this:</p>
- <pre><code> > This <span class="hljs-keyword">is</span> a blockquote!
- >
- > This <span class="hljs-keyword">is</span> part <span class="hljs-keyword">of</span> <span class="hljs-keyword">the</span> same <span class="hljs-literal">quote</span>!
- </code></pre><p> This will render as a single blockquote:</p>
- <blockquote>
- <p>This is a blockquote!</p>
- <p>This is part of the same quote!</p>
- </blockquote>
- <p> See also the <a href="/help/referencing">citation and referencing help</a> for guidelines on how to properly reference different quotes from various places.</p>
- <h3 id="-images-"><strong>Images</strong></h3>
- <p> Embedding images in a post is very similar to the formatting for links (detailed above). The format <code>![alt text](image URL)</code> will embed an image in your post. Please remember to <a href="/help/alt-text">write alt text for your image</a>! Codidact allows you to upload an image directly, or you can embed an external image from image hosting sites such as Imgur.</p>
- <h3 id="-lists-"><strong>Lists</strong></h3>
- <p> You can generate either an ordered list or a bullet list. For a bullet list, you can use either <code>*</code> or <code>-</code> to create your list.</p>
- <pre><code>* List <span class="hljs-keyword">item</span> <span class="hljs-literal">one</span>
- * List <span class="hljs-keyword">item</span> <span class="hljs-literal">two</span>
- </code></pre><p> This will render like this:</p>
- <blockquote>
- <ul>
- <li>List item one</li>
- <li>List item two</li>
- </ul>
- </blockquote>
- <p> If you want to create a numbered list, use <code>1.</code>, <code>2.</code>, etc instead of <code>*</code> or <code>-</code>. Note that the exact number you use, in most cases, is irrelevant - after the first number that you use, no matter what number you put in, Codidact will automatically number it in order. For instance, if you create a list and type <code>1. List item #1</code> for the first line, then <code>3. List item #2</code> for the second line, Codidact will automatically render the <code>3.</code> as a <code>2.</code>. If you begin your list at any other number, such as your first list item is numbered <code>5.</code>, Codidact will continue from that number onwards (with the next number automatically rendering as <code>6.</code>).</p>
- <h3 id="-horizontal-line-"><strong>Horizontal line</strong></h3>
- <p> You can use a horizontal line for separating sections of your post. Use <code>---</code> on its own line to generate a horizontal line.</p>
- <h3 id="-headings-"><strong>Headings</strong></h3>
- <p> You can include a heading in your post. Using a single hash symbol (<code>#</code>) before a line of your post will create a large heading, while adding another will create a slightly smaller heading (up to six different heading sizes).</p>
- <pre><code># Heading <span class="hljs-number">1</span>
- ## Heading <span class="hljs-number">2</span>
- ###### Heading <span class="hljs-number">6</span>
- </code></pre><blockquote>
- <h1 id="heading-1">Heading 1</h1>
- <h2 id="heading-2">Heading 2</h2>
- <h6 id="heading-6">Heading 6</h6>
- </blockquote>
- <h3 id="-footnotes-"><strong>Footnotes</strong></h3>
- <p> To include a footnote in your post, you can use the syntax <code>[^1]</code>. In your main text, include <code>Text[^1] and more text</code>, and at the bottom (where you want to include your footnote), place a line resembling <code>[^1]: footnote text</code>.</p>
- <h2 id="how-do-I-write-equations">How do I write equations and mathematical symbols?</h2>
<p>Scientific Speculation supports the typesetting language <a href="https://www.latex-project.org/">LaTeX</a> by way of the <a href="https://www.mathjax.org/">MathJax</a> library. Users can add equations in a post by enclosing them with single or double dollar signs, for inline and block equations, respectively. For example, <code>$E=mc^2$</code> renders as $E=mc^2$, while <code>$$E=mc^2$$</code> renders as- $$E=mc^2$$
- <ul>
- <li>Greek letters can be written by adding a backslash in front; <code>\alpha</code> renders as $\alpha$ and <code>\Gamma</code> renders as $\Gamma$.</li>
- <li>Fractions are written as <code>\frac{numerator}{denominator}</code>.
- <li>Roots and exponents use the syntax <code>\sqrt[n]{number}</code> and <code>number^{n}</code>, respectively: <code>\sqrt[3]{2}</code> becomes $\sqrt[3]{2}$ and <code>3^2</code> becomes $3^2$.
- <li>Sums and integrals are denoted by <code>\sum</code> and <code>\int</code>. Use underscores and carets to denote the bounds: <code>\sum_{n=1}^{\infty}\frac{1}{n^s}</code> and <code>\int_{0}^{\infty}x^{s-1}e^{-x}dx</code> become $$\sum_{n=1}^{\infty}\frac{1}{n^s}$$ and $$\int_{0}^{\infty}x^{s-1}e^{-x}dx.$$
- <li>To apply an operation (such as exponentiation) to multiple characters, enclose them in braces $\{\}$: <code>e^{-kt}</code> becomes $e^{-kt}$, while <code>e^-kt</code> would render as $e^-kt$.</li>
- <li>Parentheses, brackets and braces (<code>()</code>, <code>[]</code>, <code>{}</code>) may be used to group expressions, though braces require forward slashes before them; otherwise, they're interpreted as grouping LaTeX characters. Additionally, <code>\left</code> and <code>\right</code> may be used together to automatically modify the size of these symbols. For example, <code>a=b\{c+d\}</code> produces $a=b\{c+d\}$ and <code>1+\left(\frac{n(n+1)}{2}\right)</code> produces
- $$1+\left(\frac{n(n+1)}{2}\right)$$
- Note that each instance of <code>\left</code> requires a corresponding instance of <code>\right</code>.</li>
- <li>For spaces, use <code>\,</code>, <code>\;</code>, <code>\quad</code> and <code>\qquad</code>, in order of increasing size: <code>a\,b\;c\quad d\qquad e</code> gives $a\,b\;c\quad d\qquad e$ and to insert regular text into equations, you can use <code>\text{...}</code></li>
- </ul>
- </p>
- <p>For more information, check out the American Mathematical Society's <a href="https://www.latex-project.org/help/documentation/amsldoc.pdf">official user guide</a> for Version 2.1 of LaTeX.</p>
- <p>For a comprehensive list of $LaTeX$ notation, see <a href="http://mirror.ox.ac.uk/sites/ctan.org/info/symbols/comprehensive/symbols-a4.pdf">The Comprehensive $\LaTeX$ Symbol List</a></p>
- <p>Codidact uses the <a href="https://commonmark.org">CommonMark implementation</a> of Markdown for formatting posts.</p>
- <h3 id="-italics-"><strong>Italics</strong></h3>
- <p> You can <em>italicize</em> a word by placing a single asterisk (<code>*</code>) or single underscore (<code>_</code>) around a word. Either <code>*Codidact*</code> or <code>_Codidact_</code> will render as <em>Codidact</em>.</p>
- <h3 id="-bold-"><strong>Bold</strong></h3>
- <p> You can <strong>bold</strong> a word by placing a double asterisk or double underscore around that word. Either <code>**Codidact**</code> or <code>__Codidact__</code> will render as <strong>Codidact</strong>.</p>
- <h3 id="-monospace-code-formatting-"><strong>Monospace / code formatting</strong></h3>
- <p> To make a word monospace, you can surround it with a single backtick (<code>`</code>). This is generally used for code formatting. (Some people use this for emphasis. Don't do that! Screen readers will read out words formatted as code character by character - use <em>italics</em> or <strong>bold</strong> for emphasis instead.)</p>
- <p> To mark several lines as code, you can use a code fence. This is three backticks on a newline both on top and at the bottom of your lines of code. Don't use this for quotes - see below for guidance on quote formatting.</p>
- <h3 id="-links-"><strong>Links</strong></h3>
- <p> You can generate a link using one of two methods. One way is to encase your link text in square brackets (<code>[ ]</code>) and then the target URL in parentheses (<code>( )</code>). <code>[Codidact](https://codidact.org)</code> will render as <a href="https://codidact.org">Codidact</a>.</p>
- <p> You can also format a link with the inline text being <code>[Codidact][1]</code>, and then at the bottom of the post include the URL with the format <code>[1]: https://codidact.org</code>. This will look something like this:</p>
- <pre><code>
- You can check out [<span class="hljs-string">Codidact</span>][<span class="hljs-symbol">1</span>] for an open-source, community-oriented Q&A platform!
- [1]: https://codidact.org`
- </code></pre><p> Which will render like this:</p>
- <blockquote>
- <p>You can check out [Codidact][1] for an open-source, community-oriented Q&A platform!</p>
- <p>[1]: <a href="https://codidact.org">https://codidact.org</a></p>
- </blockquote>
- <p> If you'd like to include rollover text for your link, you can put your text, surrounded by quote marks (<code>"</code>), into the URL of your link. For instance, <code>[Codidact](https://codidact.org "The open-source Q&A platform")</code> will create a link with <code>The open-source Q&A platform</code> as the rollover text.</p>
- <h3 id="-blockquotes-"><strong>Blockquotes</strong></h3>
- <p> When quoting text from somewhere else, you can use a blockquote to signify that this is not your original text, but a quote from somewhere else. Put a greater than symbol (<code>></code>), followed by a space, before a paragraph to mark that quote as a blockquote. For instance, <code>> This is a blockquote!</code> will render as a quote:</p>
- <blockquote>
- <p>This is a blockquote!</p>
- </blockquote>
- <p> If you want to include a second paragraph as part of the same quote, you have to include another <code>></code> before each line, like this:</p>
- <pre><code> > This <span class="hljs-keyword">is</span> a blockquote!
- >
- > This <span class="hljs-keyword">is</span> part <span class="hljs-keyword">of</span> <span class="hljs-keyword">the</span> same <span class="hljs-literal">quote</span>!
- </code></pre><p> This will render as a single blockquote:</p>
- <blockquote>
- <p>This is a blockquote!</p>
- <p>This is part of the same quote!</p>
- </blockquote>
- <p> See also the <a href="/help/referencing">citation and referencing help</a> for guidelines on how to properly reference different quotes from various places.</p>
- <h3 id="-images-"><strong>Images</strong></h3>
- <p> Embedding images in a post is very similar to the formatting for links (detailed above). The format <code>![alt text](image URL)</code> will embed an image in your post. Please remember to <a href="/help/alt-text">write alt text for your image</a>! Codidact allows you to upload an image directly, or you can embed an external image from image hosting sites such as Imgur.</p>
- <h3 id="-lists-"><strong>Lists</strong></h3>
- <p> You can generate either an ordered list or a bullet list. For a bullet list, you can use either <code>*</code> or <code>-</code> to create your list.</p>
- <pre><code>* List <span class="hljs-keyword">item</span> <span class="hljs-literal">one</span>
- * List <span class="hljs-keyword">item</span> <span class="hljs-literal">two</span>
- </code></pre><p> This will render like this:</p>
- <blockquote>
- <ul>
- <li>List item one</li>
- <li>List item two</li>
- </ul>
- </blockquote>
- <p> If you want to create a numbered list, use <code>1.</code>, <code>2.</code>, etc instead of <code>*</code> or <code>-</code>. Note that the exact number you use, in most cases, is irrelevant - after the first number that you use, no matter what number you put in, Codidact will automatically number it in order. For instance, if you create a list and type <code>1. List item #1</code> for the first line, then <code>3. List item #2</code> for the second line, Codidact will automatically render the <code>3.</code> as a <code>2.</code>. If you begin your list at any other number, such as your first list item is numbered <code>5.</code>, Codidact will continue from that number onwards (with the next number automatically rendering as <code>6.</code>).</p>
- <h3 id="-horizontal-line-"><strong>Horizontal line</strong></h3>
- <p> You can use a horizontal line for separating sections of your post. Use <code>---</code> on its own line to generate a horizontal line.</p>
- <h3 id="-headings-"><strong>Headings</strong></h3>
- <p> You can include a heading in your post. Using a single hash symbol (<code>#</code>) before a line of your post will create a large heading, while adding another will create a slightly smaller heading (up to six different heading sizes).</p>
- <pre><code># Heading <span class="hljs-number">1</span>
- ## Heading <span class="hljs-number">2</span>
- ###### Heading <span class="hljs-number">6</span>
- </code></pre><blockquote>
- <h1 id="heading-1">Heading 1</h1>
- <h2 id="heading-2">Heading 2</h2>
- <h6 id="heading-6">Heading 6</h6>
- </blockquote>
- <h3 id="-footnotes-"><strong>Footnotes</strong></h3>
- <p> To include a footnote in your post, you can use the syntax <code>[^1]</code>. In your main text, include <code>Text[^1] and more text</code>, and at the bottom (where you want to include your footnote), place a line resembling <code>[^1]: footnote text</code>.</p>
- <h2 id="how-do-I-write-equations">How do I write equations and mathematical symbols?</h2>
- <p>Mathematics supports the typesetting language <a href="https://www.latex-project.org/">LaTeX</a> by way of the <a href="https://www.mathjax.org/">MathJax</a> library. Users can add equations in a post by enclosing them with single or double dollar signs, for inline and block equations, respectively. For example, <code>$E=mc^2$</code> renders as $E=mc^2$, while <code>$$E=mc^2$$</code> renders as
- $$E=mc^2$$
- <ul>
- <li>Greek letters can be written by adding a backslash in front; <code>\alpha</code> renders as $\alpha$ and <code>\Gamma</code> renders as $\Gamma$.</li>
- <li>Fractions are written as <code>\frac{numerator}{denominator}</code>.
- <li>Roots and exponents use the syntax <code>\sqrt[n]{number}</code> and <code>number^{n}</code>, respectively: <code>\sqrt[3]{2}</code> becomes $\sqrt[3]{2}$ and <code>3^2</code> becomes $3^2$.
- <li>Sums and integrals are denoted by <code>\sum</code> and <code>\int</code>. Use underscores and carets to denote the bounds: <code>\sum_{n=1}^{\infty}\frac{1}{n^s}</code> and <code>\int_{0}^{\infty}x^{s-1}e^{-x}dx</code> become $$\sum_{n=1}^{\infty}\frac{1}{n^s}$$ and $$\int_{0}^{\infty}x^{s-1}e^{-x}dx.$$
- <li>To apply an operation (such as exponentiation) to multiple characters, enclose them in braces $\{\}$: <code>e^{-kt}</code> becomes $e^{-kt}$, while <code>e^-kt</code> would render as $e^-kt$.</li>
- <li>Parentheses, brackets and braces (<code>()</code>, <code>[]</code>, <code>{}</code>) may be used to group expressions, though braces require forward slashes before them; otherwise, they're interpreted as grouping LaTeX characters. Additionally, <code>\left</code> and <code>\right</code> may be used together to automatically modify the size of these symbols. For example, <code>a=b\{c+d\}</code> produces $a=b\{c+d\}$ and <code>1+\left(\frac{n(n+1)}{2}\right)</code> produces
- $$1+\left(\frac{n(n+1)}{2}\right)$$
- Note that each instance of <code>\left</code> requires a corresponding instance of <code>\right</code>.</li>
- <li>For spaces, use <code>\,</code>, <code>\;</code>, <code>\quad</code> and <code>\qquad</code>, in order of increasing size: <code>a\,b\;c\quad d\qquad e</code> gives $a\,b\;c\quad d\qquad e$ and to insert regular text into equations, you can use <code>\text{...}</code></li>
- </ul>
- </p>
- <p>For more information, check out the American Mathematical Society's <a href="https://www.latex-project.org/help/documentation/amsldoc.pdf">official user guide</a> for Version 2.1 of LaTeX.</p>
- <p>For a comprehensive list of $LaTeX$ notation, see <a href="http://mirror.ox.ac.uk/sites/ctan.org/info/symbols/comprehensive/symbols-a4.pdf">The Comprehensive $\LaTeX$ Symbol List</a></p>
#3: Post edited
- <p>Codidact uses the <a href="https://commonmark.org">CommonMark implementation</a> of Markdown for formatting posts.</p>
- <h3 id="-italics-"><strong>Italics</strong></h3>
- <p> You can <em>italicize</em> a word by placing a single asterisk (<code>*</code>) or single underscore (<code>_</code>) around a word. Either <code>*Codidact*</code> or <code>_Codidact_</code> will render as <em>Codidact</em>.</p>
- <h3 id="-bold-"><strong>Bold</strong></h3>
- <p> You can <strong>bold</strong> a word by placing a double asterisk or double underscore around that word. Either <code>**Codidact**</code> or <code>__Codidact__</code> will render as <strong>Codidact</strong>.</p>
- <h3 id="-monospace-code-formatting-"><strong>Monospace / code formatting</strong></h3>
- <p> To make a word monospace, you can surround it with a single backtick (<code>`</code>). This is generally used for code formatting. (Some people use this for emphasis. Don't do that! Screen readers will read out words formatted as code character by character - use <em>italics</em> or <strong>bold</strong> for emphasis instead.)</p>
- <p> To mark several lines as code, you can use a code fence. This is three backticks on a newline both on top and at the bottom of your lines of code. Don't use this for quotes - see below for guidance on quote formatting.</p>
- <h3 id="-links-"><strong>Links</strong></h3>
- <p> You can generate a link using one of two methods. One way is to encase your link text in square brackets (<code>[ ]</code>) and then the target URL in parentheses (<code>( )</code>). <code>[Codidact](https://codidact.org)</code> will render as <a href="https://codidact.org">Codidact</a>.</p>
- <p> You can also format a link with the inline text being <code>[Codidact][1]</code>, and then at the bottom of the post include the URL with the format <code>[1]: https://codidact.org</code>. This will look something like this:</p>
- <pre><code>
- You can check out [<span class="hljs-string">Codidact</span>][<span class="hljs-symbol">1</span>] for an open-source, community-oriented Q&A platform!
- [1]: https://codidact.org`
- </code></pre><p> Which will render like this:</p>
- <blockquote>
- <p>You can check out [Codidact][1] for an open-source, community-oriented Q&A platform!</p>
- <p>[1]: <a href="https://codidact.org">https://codidact.org</a></p>
- </blockquote>
- <p> If you'd like to include rollover text for your link, you can put your text, surrounded by quote marks (<code>"</code>), into the URL of your link. For instance, <code>[Codidact](https://codidact.org "The open-source Q&A platform")</code> will create a link with <code>The open-source Q&A platform</code> as the rollover text.</p>
- <h3 id="-blockquotes-"><strong>Blockquotes</strong></h3>
- <p> When quoting text from somewhere else, you can use a blockquote to signify that this is not your original text, but a quote from somewhere else. Put a greater than symbol (<code>></code>), followed by a space, before a paragraph to mark that quote as a blockquote. For instance, <code>> This is a blockquote!</code> will render as a quote:</p>
- <blockquote>
- <p>This is a blockquote!</p>
- </blockquote>
- <p> If you want to include a second paragraph as part of the same quote, you have to include another <code>></code> before each line, like this:</p>
- <pre><code> > This <span class="hljs-keyword">is</span> a blockquote!
- >
- > This <span class="hljs-keyword">is</span> part <span class="hljs-keyword">of</span> <span class="hljs-keyword">the</span> same <span class="hljs-literal">quote</span>!
- </code></pre><p> This will render as a single blockquote:</p>
- <blockquote>
- <p>This is a blockquote!</p>
- <p>This is part of the same quote!</p>
- </blockquote>
- <p> See also the <a href="/help/referencing">citation and referencing help</a> for guidelines on how to properly reference different quotes from various places.</p>
- <h3 id="-images-"><strong>Images</strong></h3>
- <p> Embedding images in a post is very similar to the formatting for links (detailed above). The format <code>![alt text](image URL)</code> will embed an image in your post. Please remember to <a href="/help/alt-text">write alt text for your image</a>! Codidact allows you to upload an image directly, or you can embed an external image from image hosting sites such as Imgur.</p>
- <h3 id="-lists-"><strong>Lists</strong></h3>
- <p> You can generate either an ordered list or a bullet list. For a bullet list, you can use either <code>*</code> or <code>-</code> to create your list.</p>
- <pre><code>* List <span class="hljs-keyword">item</span> <span class="hljs-literal">one</span>
- * List <span class="hljs-keyword">item</span> <span class="hljs-literal">two</span>
- </code></pre><p> This will render like this:</p>
- <blockquote>
- <ul>
- <li>List item one</li>
- <li>List item two</li>
- </ul>
- </blockquote>
- <p> If you want to create a numbered list, use <code>1.</code>, <code>2.</code>, etc instead of <code>*</code> or <code>-</code>. Note that the exact number you use, in most cases, is irrelevant - after the first number that you use, no matter what number you put in, Codidact will automatically number it in order. For instance, if you create a list and type <code>1. List item #1</code> for the first line, then <code>3. List item #2</code> for the second line, Codidact will automatically render the <code>3.</code> as a <code>2.</code>. If you begin your list at any other number, such as your first list item is numbered <code>5.</code>, Codidact will continue from that number onwards (with the next number automatically rendering as <code>6.</code>).</p>
- <h3 id="-horizontal-line-"><strong>Horizontal line</strong></h3>
- <p> You can use a horizontal line for separating sections of your post. Use <code>---</code> on its own line to generate a horizontal line.</p>
- <h3 id="-headings-"><strong>Headings</strong></h3>
- <p> You can include a heading in your post. Using a single hash symbol (<code>#</code>) before a line of your post will create a large heading, while adding another will create a slightly smaller heading (up to six different heading sizes).</p>
- <pre><code># Heading <span class="hljs-number">1</span>
- ## Heading <span class="hljs-number">2</span>
- ###### Heading <span class="hljs-number">6</span>
- </code></pre><blockquote>
- <h1 id="heading-1">Heading 1</h1>
- <h2 id="heading-2">Heading 2</h2>
- <h6 id="heading-6">Heading 6</h6>
- </blockquote>
- <h3 id="-footnotes-"><strong>Footnotes</strong></h3>
- <p> To include a footnote in your post, you can use the syntax <code>[^1]</code>. In your main text, include <code>Text[^1] and more text</code>, and at the bottom (where you want to include your footnote), place a line resembling <code>[^1]: footnote text</code>.</p>
- <h2 id="how-do-I-write-equations">How do I write equations and mathematical symbols?</h2>
- <p>Scientific Speculation supports the typesetting language <a href="https://www.latex-project.org/">LaTeX</a> by way of the <a href="https://www.mathjax.org/">MathJax</a> library. Users can add equations in a post by enclosing them with single or double dollar signs, for inline and block equations, respectively. For example, <code>$E=mc^2$</code> renders as $E=mc^2$, while <code>$$E=mc^2$$</code> renders as
- $$E=mc^2$$
- <ul>
- <li>Greek letters can be written by adding a backslash in front; <code>\alpha</code> renders as $\alpha$ and <code>\Gamma</code> renders as $\Gamma$.</li>
- <li>Fractions are written as <code>\frac{numerator}{denominator}</code>.
- <li>Roots and exponents use the syntax <code>\sqrt[n]{number}</code> and <code>number^{n}</code>, respectively: <code>\sqrt[3]{2}</code> becomes $\sqrt[3]{2}$ and <code>3^2</code> becomes $3^2$.
- <li>Sums and integrals are denoted by <code>\sum</code> and <code>\int</code>. Use underscores and carets to denote the bounds: <code>\sum_{n=1}^{\infty}\frac{1}{n^s}</code> and <code>\int_{0}^{\infty}x^{s-1}e^{-x}dx</code> become $$\sum_{n=1}^{\infty}\frac{1}{n^s}$$ and $$\int_{0}^{\infty}x^{s-1}e^{-x}dx.$$
- <li>To apply an operation (such as exponentiation) to multiple characters, enclose them in braces $\{\}$: <code>e^{-kt}</code> becomes $e^{-kt}$, while <code>e^-kt</code> would render as $e^-kt$.</li>
- <li>Parentheses, brackets and braces (<code>()</code>, <code>[]</code>, <code>{}</code>) may be used to group expressions, though braces require forward slashes before them; otherwise, they're interpreted as grouping LaTeX characters. Additionally, <code>\left</code> and <code>\right</code> may be used together to automatically modify the size of these symbols. For example, <code>a=b\{c+d\}</code> produces $a=b\{c+d\}$ and <code>1+\left(\frac{n(n+1)}{2}\right)</code> produces
- $$1+\left(\frac{n(n+1)}{2}\right)$$
- Note that each instance of <code>\left</code> requires a corresponding instance of <code>\right</code>.</li>
- <li>For spaces, use <code>\,</code>, <code>\;</code>, <code>\quad</code> and <code>\qquad</code>, in order of increasing size: <code>a\,b\;c\quad d\qquad e</code> gives $a\,b\;c\quad d\qquad e$ and to insert regular text into equations, you can use <code>\text{...}</code></li>
- </ul>
- </p>
- <p>For more information, check out the American Mathematical Society's <a href="https://www.latex-project.org/help/documentation/amsldoc.pdf">official user guide</a> for Version 2.1 of LaTeX.</p>
<p>For a comprehensive list of $LaTeX$ notation, see [The Comprehensive LATEX Symbol List](http://mirror.ox.ac.uk/sites/ctan.org/info/symbols/comprehensive/symbols-a4.pdf)</p>
- <p>Codidact uses the <a href="https://commonmark.org">CommonMark implementation</a> of Markdown for formatting posts.</p>
- <h3 id="-italics-"><strong>Italics</strong></h3>
- <p> You can <em>italicize</em> a word by placing a single asterisk (<code>*</code>) or single underscore (<code>_</code>) around a word. Either <code>*Codidact*</code> or <code>_Codidact_</code> will render as <em>Codidact</em>.</p>
- <h3 id="-bold-"><strong>Bold</strong></h3>
- <p> You can <strong>bold</strong> a word by placing a double asterisk or double underscore around that word. Either <code>**Codidact**</code> or <code>__Codidact__</code> will render as <strong>Codidact</strong>.</p>
- <h3 id="-monospace-code-formatting-"><strong>Monospace / code formatting</strong></h3>
- <p> To make a word monospace, you can surround it with a single backtick (<code>`</code>). This is generally used for code formatting. (Some people use this for emphasis. Don't do that! Screen readers will read out words formatted as code character by character - use <em>italics</em> or <strong>bold</strong> for emphasis instead.)</p>
- <p> To mark several lines as code, you can use a code fence. This is three backticks on a newline both on top and at the bottom of your lines of code. Don't use this for quotes - see below for guidance on quote formatting.</p>
- <h3 id="-links-"><strong>Links</strong></h3>
- <p> You can generate a link using one of two methods. One way is to encase your link text in square brackets (<code>[ ]</code>) and then the target URL in parentheses (<code>( )</code>). <code>[Codidact](https://codidact.org)</code> will render as <a href="https://codidact.org">Codidact</a>.</p>
- <p> You can also format a link with the inline text being <code>[Codidact][1]</code>, and then at the bottom of the post include the URL with the format <code>[1]: https://codidact.org</code>. This will look something like this:</p>
- <pre><code>
- You can check out [<span class="hljs-string">Codidact</span>][<span class="hljs-symbol">1</span>] for an open-source, community-oriented Q&A platform!
- [1]: https://codidact.org`
- </code></pre><p> Which will render like this:</p>
- <blockquote>
- <p>You can check out [Codidact][1] for an open-source, community-oriented Q&A platform!</p>
- <p>[1]: <a href="https://codidact.org">https://codidact.org</a></p>
- </blockquote>
- <p> If you'd like to include rollover text for your link, you can put your text, surrounded by quote marks (<code>"</code>), into the URL of your link. For instance, <code>[Codidact](https://codidact.org "The open-source Q&A platform")</code> will create a link with <code>The open-source Q&A platform</code> as the rollover text.</p>
- <h3 id="-blockquotes-"><strong>Blockquotes</strong></h3>
- <p> When quoting text from somewhere else, you can use a blockquote to signify that this is not your original text, but a quote from somewhere else. Put a greater than symbol (<code>></code>), followed by a space, before a paragraph to mark that quote as a blockquote. For instance, <code>> This is a blockquote!</code> will render as a quote:</p>
- <blockquote>
- <p>This is a blockquote!</p>
- </blockquote>
- <p> If you want to include a second paragraph as part of the same quote, you have to include another <code>></code> before each line, like this:</p>
- <pre><code> > This <span class="hljs-keyword">is</span> a blockquote!
- >
- > This <span class="hljs-keyword">is</span> part <span class="hljs-keyword">of</span> <span class="hljs-keyword">the</span> same <span class="hljs-literal">quote</span>!
- </code></pre><p> This will render as a single blockquote:</p>
- <blockquote>
- <p>This is a blockquote!</p>
- <p>This is part of the same quote!</p>
- </blockquote>
- <p> See also the <a href="/help/referencing">citation and referencing help</a> for guidelines on how to properly reference different quotes from various places.</p>
- <h3 id="-images-"><strong>Images</strong></h3>
- <p> Embedding images in a post is very similar to the formatting for links (detailed above). The format <code>![alt text](image URL)</code> will embed an image in your post. Please remember to <a href="/help/alt-text">write alt text for your image</a>! Codidact allows you to upload an image directly, or you can embed an external image from image hosting sites such as Imgur.</p>
- <h3 id="-lists-"><strong>Lists</strong></h3>
- <p> You can generate either an ordered list or a bullet list. For a bullet list, you can use either <code>*</code> or <code>-</code> to create your list.</p>
- <pre><code>* List <span class="hljs-keyword">item</span> <span class="hljs-literal">one</span>
- * List <span class="hljs-keyword">item</span> <span class="hljs-literal">two</span>
- </code></pre><p> This will render like this:</p>
- <blockquote>
- <ul>
- <li>List item one</li>
- <li>List item two</li>
- </ul>
- </blockquote>
- <p> If you want to create a numbered list, use <code>1.</code>, <code>2.</code>, etc instead of <code>*</code> or <code>-</code>. Note that the exact number you use, in most cases, is irrelevant - after the first number that you use, no matter what number you put in, Codidact will automatically number it in order. For instance, if you create a list and type <code>1. List item #1</code> for the first line, then <code>3. List item #2</code> for the second line, Codidact will automatically render the <code>3.</code> as a <code>2.</code>. If you begin your list at any other number, such as your first list item is numbered <code>5.</code>, Codidact will continue from that number onwards (with the next number automatically rendering as <code>6.</code>).</p>
- <h3 id="-horizontal-line-"><strong>Horizontal line</strong></h3>
- <p> You can use a horizontal line for separating sections of your post. Use <code>---</code> on its own line to generate a horizontal line.</p>
- <h3 id="-headings-"><strong>Headings</strong></h3>
- <p> You can include a heading in your post. Using a single hash symbol (<code>#</code>) before a line of your post will create a large heading, while adding another will create a slightly smaller heading (up to six different heading sizes).</p>
- <pre><code># Heading <span class="hljs-number">1</span>
- ## Heading <span class="hljs-number">2</span>
- ###### Heading <span class="hljs-number">6</span>
- </code></pre><blockquote>
- <h1 id="heading-1">Heading 1</h1>
- <h2 id="heading-2">Heading 2</h2>
- <h6 id="heading-6">Heading 6</h6>
- </blockquote>
- <h3 id="-footnotes-"><strong>Footnotes</strong></h3>
- <p> To include a footnote in your post, you can use the syntax <code>[^1]</code>. In your main text, include <code>Text[^1] and more text</code>, and at the bottom (where you want to include your footnote), place a line resembling <code>[^1]: footnote text</code>.</p>
- <h2 id="how-do-I-write-equations">How do I write equations and mathematical symbols?</h2>
- <p>Scientific Speculation supports the typesetting language <a href="https://www.latex-project.org/">LaTeX</a> by way of the <a href="https://www.mathjax.org/">MathJax</a> library. Users can add equations in a post by enclosing them with single or double dollar signs, for inline and block equations, respectively. For example, <code>$E=mc^2$</code> renders as $E=mc^2$, while <code>$$E=mc^2$$</code> renders as
- $$E=mc^2$$
- <ul>
- <li>Greek letters can be written by adding a backslash in front; <code>\alpha</code> renders as $\alpha$ and <code>\Gamma</code> renders as $\Gamma$.</li>
- <li>Fractions are written as <code>\frac{numerator}{denominator}</code>.
- <li>Roots and exponents use the syntax <code>\sqrt[n]{number}</code> and <code>number^{n}</code>, respectively: <code>\sqrt[3]{2}</code> becomes $\sqrt[3]{2}$ and <code>3^2</code> becomes $3^2$.
- <li>Sums and integrals are denoted by <code>\sum</code> and <code>\int</code>. Use underscores and carets to denote the bounds: <code>\sum_{n=1}^{\infty}\frac{1}{n^s}</code> and <code>\int_{0}^{\infty}x^{s-1}e^{-x}dx</code> become $$\sum_{n=1}^{\infty}\frac{1}{n^s}$$ and $$\int_{0}^{\infty}x^{s-1}e^{-x}dx.$$
- <li>To apply an operation (such as exponentiation) to multiple characters, enclose them in braces $\{\}$: <code>e^{-kt}</code> becomes $e^{-kt}$, while <code>e^-kt</code> would render as $e^-kt$.</li>
- <li>Parentheses, brackets and braces (<code>()</code>, <code>[]</code>, <code>{}</code>) may be used to group expressions, though braces require forward slashes before them; otherwise, they're interpreted as grouping LaTeX characters. Additionally, <code>\left</code> and <code>\right</code> may be used together to automatically modify the size of these symbols. For example, <code>a=b\{c+d\}</code> produces $a=b\{c+d\}$ and <code>1+\left(\frac{n(n+1)}{2}\right)</code> produces
- $$1+\left(\frac{n(n+1)}{2}\right)$$
- Note that each instance of <code>\left</code> requires a corresponding instance of <code>\right</code>.</li>
- <li>For spaces, use <code>\,</code>, <code>\;</code>, <code>\quad</code> and <code>\qquad</code>, in order of increasing size: <code>a\,b\;c\quad d\qquad e</code> gives $a\,b\;c\quad d\qquad e$ and to insert regular text into equations, you can use <code>\text{...}</code></li>
- </ul>
- </p>
- <p>For more information, check out the American Mathematical Society's <a href="https://www.latex-project.org/help/documentation/amsldoc.pdf">official user guide</a> for Version 2.1 of LaTeX.</p>
- <p>For a comprehensive list of $LaTeX$ notation, see <a href="http://mirror.ox.ac.uk/sites/ctan.org/info/symbols/comprehensive/symbols-a4.pdf">The Comprehensive $\LaTeX$ Symbol List</a></p>
#2: Post edited
<p>Codidact uses the <a href="https://commonmark.org">CommonMark implementation</a> of Markdown for formatting posts.</p><h3 id="-italics-"><strong>Italics</strong></h3><p> You can <em>italicize</em> a word by placing a single asterisk (<code>*</code>) or single underscore (<code>_</code>) around a word. Either <code>*Codidact*</code> or <code>_Codidact_</code> will render as <em>Codidact</em>.</p><h3 id="-bold-"><strong>Bold</strong></h3><p> You can <strong>bold</strong> a word by placing a double asterisk or double underscore around that word. Either <code>**Codidact**</code> or <code>__Codidact__</code> will render as <strong>Codidact</strong>.</p><h3 id="-monospace-code-formatting-"><strong>Monospace / code formatting</strong></h3><p> To make a word monospace, you can surround it with a single backtick (<code>`</code>). This is generally used for code formatting. (Some people use this for emphasis. Don't do that! Screen readers will read out words formatted as code character by character - use <em>italics</em> or <strong>bold</strong> for emphasis instead.)</p><p> To mark several lines as code, you can use a code fence. This is three backticks on a newline both on top and at the bottom of your lines of code. Don't use this for quotes - see below for guidance on quote formatting.</p><h3 id="-links-"><strong>Links</strong></h3><p> You can generate a link using one of two methods. One way is to encase your link text in square brackets (<code>[ ]</code>) and then the target URL in parentheses (<code>( )</code>). <code>[Codidact](https://codidact.org)</code> will render as <a href="https://codidact.org">Codidact</a>.</p><p> You can also format a link with the inline text being <code>[Codidact][1]</code>, and then at the bottom of the post include the URL with the format <code>[1]: https://codidact.org</code>. This will look something like this:</p><pre><code>You can check out [<span class="hljs-string">Codidact</span>][<span class="hljs-symbol">1</span>] for an open-source, community-oriented Q&A platform![1]: https://codidact.org`</code></pre><p> Which will render like this:</p><blockquote><p>You can check out [Codidact][1] for an open-source, community-oriented Q&A platform!</p><p>[1]: <a href="https://codidact.org">https://codidact.org</a></p></blockquote><p> If you'd like to include rollover text for your link, you can put your text, surrounded by quote marks (<code>"</code>), into the URL of your link. For instance, <code>[Codidact](https://codidact.org "The open-source Q&A platform")</code> will create a link with <code>The open-source Q&A platform</code> as the rollover text.</p><h3 id="-blockquotes-"><strong>Blockquotes</strong></h3><p> When quoting text from somewhere else, you can use a blockquote to signify that this is not your original text, but a quote from somewhere else. Put a greater than symbol (<code>></code>), followed by a space, before a paragraph to mark that quote as a blockquote. For instance, <code>> This is a blockquote!</code> will render as a quote:</p><blockquote><p>This is a blockquote!</p></blockquote><p> If you want to include a second paragraph as part of the same quote, you have to include another <code>></code> before each line, like this:</p><pre><code> > This <span class="hljs-keyword">is</span> a blockquote!>> This <span class="hljs-keyword">is</span> part <span class="hljs-keyword">of</span> <span class="hljs-keyword">the</span> same <span class="hljs-literal">quote</span>!</code></pre><p> This will render as a single blockquote:</p><blockquote><p>This is a blockquote!</p><p>This is part of the same quote!</p></blockquote><p> See also the <a href="/help/referencing">citation and referencing help</a> for guidelines on how to properly reference different quotes from various places.</p><h3 id="-images-"><strong>Images</strong></h3><p> Embedding images in a post is very similar to the formatting for links (detailed above). The format <code>![alt text](image URL)</code> will embed an image in your post. Please remember to <a href="/help/alt-text">write alt text for your image</a>! Codidact allows you to upload an image directly, or you can embed an external image from image hosting sites such as Imgur.</p><h3 id="-lists-"><strong>Lists</strong></h3><p> You can generate either an ordered list or a bullet list. For a bullet list, you can use either <code>*</code> or <code>-</code> to create your list.</p><pre><code>* List <span class="hljs-keyword">item</span> <span class="hljs-literal">one</span>* List <span class="hljs-keyword">item</span> <span class="hljs-literal">two</span></code></pre><p> This will render like this:</p><blockquote><ul><li>List item one</li><li>List item two</li></ul></blockquote><p> If you want to create a numbered list, use <code>1.</code>, <code>2.</code>, etc instead of <code>*</code> or <code>-</code>. Note that the exact number you use, in most cases, is irrelevant - after the first number that you use, no matter what number you put in, Codidact will automatically number it in order. For instance, if you create a list and type <code>1. List item #1</code> for the first line, then <code>3. List item #2</code> for the second line, Codidact will automatically render the <code>3.</code> as a <code>2.</code>. If you begin your list at any other number, such as your first list item is numbered <code>5.</code>, Codidact will continue from that number onwards (with the next number automatically rendering as <code>6.</code>).</p><h3 id="-horizontal-line-"><strong>Horizontal line</strong></h3><p> You can use a horizontal line for separating sections of your post. Use <code>---</code> on its own line to generate a horizontal line.</p><h3 id="-headings-"><strong>Headings</strong></h3><p> You can include a heading in your post. Using a single hash symbol (<code>#</code>) before a line of your post will create a large heading, while adding another will create a slightly smaller heading (up to six different heading sizes).</p><pre><code># Heading <span class="hljs-number">1</span>## Heading <span class="hljs-number">2</span>###### Heading <span class="hljs-number">6</span></code></pre><blockquote><h1 id="heading-1">Heading 1</h1><h2 id="heading-2">Heading 2</h2><h6 id="heading-6">Heading 6</h6></blockquote><h3 id="-footnotes-"><strong>Footnotes</strong></h3><p> To include a footnote in your post, you can use the syntax <code>[^1]</code>. In your main text, include <code>Text[^1] and more text</code>, and at the bottom (where you want to include your footnote), place a line resembling <code>[^1]: footnote text</code>.</p>
- <p>Codidact uses the <a href="https://commonmark.org">CommonMark implementation</a> of Markdown for formatting posts.</p>
- <h3 id="-italics-"><strong>Italics</strong></h3>
- <p> You can <em>italicize</em> a word by placing a single asterisk (<code>*</code>) or single underscore (<code>_</code>) around a word. Either <code>*Codidact*</code> or <code>_Codidact_</code> will render as <em>Codidact</em>.</p>
- <h3 id="-bold-"><strong>Bold</strong></h3>
- <p> You can <strong>bold</strong> a word by placing a double asterisk or double underscore around that word. Either <code>**Codidact**</code> or <code>__Codidact__</code> will render as <strong>Codidact</strong>.</p>
- <h3 id="-monospace-code-formatting-"><strong>Monospace / code formatting</strong></h3>
- <p> To make a word monospace, you can surround it with a single backtick (<code>`</code>). This is generally used for code formatting. (Some people use this for emphasis. Don't do that! Screen readers will read out words formatted as code character by character - use <em>italics</em> or <strong>bold</strong> for emphasis instead.)</p>
- <p> To mark several lines as code, you can use a code fence. This is three backticks on a newline both on top and at the bottom of your lines of code. Don't use this for quotes - see below for guidance on quote formatting.</p>
- <h3 id="-links-"><strong>Links</strong></h3>
- <p> You can generate a link using one of two methods. One way is to encase your link text in square brackets (<code>[ ]</code>) and then the target URL in parentheses (<code>( )</code>). <code>[Codidact](https://codidact.org)</code> will render as <a href="https://codidact.org">Codidact</a>.</p>
- <p> You can also format a link with the inline text being <code>[Codidact][1]</code>, and then at the bottom of the post include the URL with the format <code>[1]: https://codidact.org</code>. This will look something like this:</p>
- <pre><code>
- You can check out [<span class="hljs-string">Codidact</span>][<span class="hljs-symbol">1</span>] for an open-source, community-oriented Q&A platform!
- [1]: https://codidact.org`
- </code></pre><p> Which will render like this:</p>
- <blockquote>
- <p>You can check out [Codidact][1] for an open-source, community-oriented Q&A platform!</p>
- <p>[1]: <a href="https://codidact.org">https://codidact.org</a></p>
- </blockquote>
- <p> If you'd like to include rollover text for your link, you can put your text, surrounded by quote marks (<code>"</code>), into the URL of your link. For instance, <code>[Codidact](https://codidact.org "The open-source Q&A platform")</code> will create a link with <code>The open-source Q&A platform</code> as the rollover text.</p>
- <h3 id="-blockquotes-"><strong>Blockquotes</strong></h3>
- <p> When quoting text from somewhere else, you can use a blockquote to signify that this is not your original text, but a quote from somewhere else. Put a greater than symbol (<code>></code>), followed by a space, before a paragraph to mark that quote as a blockquote. For instance, <code>> This is a blockquote!</code> will render as a quote:</p>
- <blockquote>
- <p>This is a blockquote!</p>
- </blockquote>
- <p> If you want to include a second paragraph as part of the same quote, you have to include another <code>></code> before each line, like this:</p>
- <pre><code> > This <span class="hljs-keyword">is</span> a blockquote!
- >
- > This <span class="hljs-keyword">is</span> part <span class="hljs-keyword">of</span> <span class="hljs-keyword">the</span> same <span class="hljs-literal">quote</span>!
- </code></pre><p> This will render as a single blockquote:</p>
- <blockquote>
- <p>This is a blockquote!</p>
- <p>This is part of the same quote!</p>
- </blockquote>
- <p> See also the <a href="/help/referencing">citation and referencing help</a> for guidelines on how to properly reference different quotes from various places.</p>
- <h3 id="-images-"><strong>Images</strong></h3>
- <p> Embedding images in a post is very similar to the formatting for links (detailed above). The format <code>![alt text](image URL)</code> will embed an image in your post. Please remember to <a href="/help/alt-text">write alt text for your image</a>! Codidact allows you to upload an image directly, or you can embed an external image from image hosting sites such as Imgur.</p>
- <h3 id="-lists-"><strong>Lists</strong></h3>
- <p> You can generate either an ordered list or a bullet list. For a bullet list, you can use either <code>*</code> or <code>-</code> to create your list.</p>
- <pre><code>* List <span class="hljs-keyword">item</span> <span class="hljs-literal">one</span>
- * List <span class="hljs-keyword">item</span> <span class="hljs-literal">two</span>
- </code></pre><p> This will render like this:</p>
- <blockquote>
- <ul>
- <li>List item one</li>
- <li>List item two</li>
- </ul>
- </blockquote>
- <p> If you want to create a numbered list, use <code>1.</code>, <code>2.</code>, etc instead of <code>*</code> or <code>-</code>. Note that the exact number you use, in most cases, is irrelevant - after the first number that you use, no matter what number you put in, Codidact will automatically number it in order. For instance, if you create a list and type <code>1. List item #1</code> for the first line, then <code>3. List item #2</code> for the second line, Codidact will automatically render the <code>3.</code> as a <code>2.</code>. If you begin your list at any other number, such as your first list item is numbered <code>5.</code>, Codidact will continue from that number onwards (with the next number automatically rendering as <code>6.</code>).</p>
- <h3 id="-horizontal-line-"><strong>Horizontal line</strong></h3>
- <p> You can use a horizontal line for separating sections of your post. Use <code>---</code> on its own line to generate a horizontal line.</p>
- <h3 id="-headings-"><strong>Headings</strong></h3>
- <p> You can include a heading in your post. Using a single hash symbol (<code>#</code>) before a line of your post will create a large heading, while adding another will create a slightly smaller heading (up to six different heading sizes).</p>
- <pre><code># Heading <span class="hljs-number">1</span>
- ## Heading <span class="hljs-number">2</span>
- ###### Heading <span class="hljs-number">6</span>
- </code></pre><blockquote>
- <h1 id="heading-1">Heading 1</h1>
- <h2 id="heading-2">Heading 2</h2>
- <h6 id="heading-6">Heading 6</h6>
- </blockquote>
- <h3 id="-footnotes-"><strong>Footnotes</strong></h3>
- <p> To include a footnote in your post, you can use the syntax <code>[^1]</code>. In your main text, include <code>Text[^1] and more text</code>, and at the bottom (where you want to include your footnote), place a line resembling <code>[^1]: footnote text</code>.</p>
- <h2 id="how-do-I-write-equations">How do I write equations and mathematical symbols?</h2>
- <p>Scientific Speculation supports the typesetting language <a href="https://www.latex-project.org/">LaTeX</a> by way of the <a href="https://www.mathjax.org/">MathJax</a> library. Users can add equations in a post by enclosing them with single or double dollar signs, for inline and block equations, respectively. For example, <code>$E=mc^2$</code> renders as $E=mc^2$, while <code>$$E=mc^2$$</code> renders as
- $$E=mc^2$$
- <ul>
- <li>Greek letters can be written by adding a backslash in front; <code>\alpha</code> renders as $\alpha$ and <code>\Gamma</code> renders as $\Gamma$.</li>
- <li>Fractions are written as <code>\frac{numerator}{denominator}</code>.
- <li>Roots and exponents use the syntax <code>\sqrt[n]{number}</code> and <code>number^{n}</code>, respectively: <code>\sqrt[3]{2}</code> becomes $\sqrt[3]{2}$ and <code>3^2</code> becomes $3^2$.
- <li>Sums and integrals are denoted by <code>\sum</code> and <code>\int</code>. Use underscores and carets to denote the bounds: <code>\sum_{n=1}^{\infty}\frac{1}{n^s}</code> and <code>\int_{0}^{\infty}x^{s-1}e^{-x}dx</code> become $$\sum_{n=1}^{\infty}\frac{1}{n^s}$$ and $$\int_{0}^{\infty}x^{s-1}e^{-x}dx.$$
- <li>To apply an operation (such as exponentiation) to multiple characters, enclose them in braces $\{\}$: <code>e^{-kt}</code> becomes $e^{-kt}$, while <code>e^-kt</code> would render as $e^-kt$.</li>
- <li>Parentheses, brackets and braces (<code>()</code>, <code>[]</code>, <code>{}</code>) may be used to group expressions, though braces require forward slashes before them; otherwise, they're interpreted as grouping LaTeX characters. Additionally, <code>\left</code> and <code>\right</code> may be used together to automatically modify the size of these symbols. For example, <code>a=b\{c+d\}</code> produces $a=b\{c+d\}$ and <code>1+\left(\frac{n(n+1)}{2}\right)</code> produces
- $$1+\left(\frac{n(n+1)}{2}\right)$$
- Note that each instance of <code>\left</code> requires a corresponding instance of <code>\right</code>.</li>
- <li>For spaces, use <code>\,</code>, <code>\;</code>, <code>\quad</code> and <code>\qquad</code>, in order of increasing size: <code>a\,b\;c\quad d\qquad e</code> gives $a\,b\;c\quad d\qquad e$ and to insert regular text into equations, you can use <code>\text{...}</code></li>
- </ul>
- </p>
- <p>For more information, check out the American Mathematical Society's <a href="https://www.latex-project.org/help/documentation/amsldoc.pdf">official user guide</a> for Version 2.1 of LaTeX.</p>
- <p>For a comprehensive list of $LaTeX$ notation, see [The Comprehensive LATEX Symbol List](http://mirror.ox.ac.uk/sites/ctan.org/info/symbols/comprehensive/symbols-a4.pdf)</p>
#1: Initial revision
Formatting Posts
<p>Codidact uses the <a href="https://commonmark.org">CommonMark implementation</a> of Markdown for formatting posts.</p> <h3 id="-italics-"><strong>Italics</strong></h3> <p> You can <em>italicize</em> a word by placing a single asterisk (<code>*</code>) or single underscore (<code>_</code>) around a word. Either <code>*Codidact*</code> or <code>_Codidact_</code> will render as <em>Codidact</em>.</p> <h3 id="-bold-"><strong>Bold</strong></h3> <p> You can <strong>bold</strong> a word by placing a double asterisk or double underscore around that word. Either <code>**Codidact**</code> or <code>__Codidact__</code> will render as <strong>Codidact</strong>.</p> <h3 id="-monospace-code-formatting-"><strong>Monospace / code formatting</strong></h3> <p> To make a word monospace, you can surround it with a single backtick (<code>`</code>). This is generally used for code formatting. (Some people use this for emphasis. Don't do that! Screen readers will read out words formatted as code character by character - use <em>italics</em> or <strong>bold</strong> for emphasis instead.)</p> <p> To mark several lines as code, you can use a code fence. This is three backticks on a newline both on top and at the bottom of your lines of code. Don't use this for quotes - see below for guidance on quote formatting.</p> <h3 id="-links-"><strong>Links</strong></h3> <p> You can generate a link using one of two methods. One way is to encase your link text in square brackets (<code>[ ]</code>) and then the target URL in parentheses (<code>( )</code>). <code>[Codidact](https://codidact.org)</code> will render as <a href="https://codidact.org">Codidact</a>.</p> <p> You can also format a link with the inline text being <code>[Codidact][1]</code>, and then at the bottom of the post include the URL with the format <code>[1]: https://codidact.org</code>. This will look something like this:</p> <pre><code> You can check out [<span class="hljs-string">Codidact</span>][<span class="hljs-symbol">1</span>] for an open-source, community-oriented Q&A platform! [1]: https://codidact.org` </code></pre><p> Which will render like this:</p> <blockquote> <p>You can check out [Codidact][1] for an open-source, community-oriented Q&A platform!</p> <p>[1]: <a href="https://codidact.org">https://codidact.org</a></p> </blockquote> <p> If you'd like to include rollover text for your link, you can put your text, surrounded by quote marks (<code>"</code>), into the URL of your link. For instance, <code>[Codidact](https://codidact.org "The open-source Q&A platform")</code> will create a link with <code>The open-source Q&A platform</code> as the rollover text.</p> <h3 id="-blockquotes-"><strong>Blockquotes</strong></h3> <p> When quoting text from somewhere else, you can use a blockquote to signify that this is not your original text, but a quote from somewhere else. Put a greater than symbol (<code>></code>), followed by a space, before a paragraph to mark that quote as a blockquote. For instance, <code>> This is a blockquote!</code> will render as a quote:</p> <blockquote> <p>This is a blockquote!</p> </blockquote> <p> If you want to include a second paragraph as part of the same quote, you have to include another <code>></code> before each line, like this:</p> <pre><code> > This <span class="hljs-keyword">is</span> a blockquote! > > This <span class="hljs-keyword">is</span> part <span class="hljs-keyword">of</span> <span class="hljs-keyword">the</span> same <span class="hljs-literal">quote</span>! </code></pre><p> This will render as a single blockquote:</p> <blockquote> <p>This is a blockquote!</p> <p>This is part of the same quote!</p> </blockquote> <p> See also the <a href="/help/referencing">citation and referencing help</a> for guidelines on how to properly reference different quotes from various places.</p> <h3 id="-images-"><strong>Images</strong></h3> <p> Embedding images in a post is very similar to the formatting for links (detailed above). The format <code>![alt text](image URL)</code> will embed an image in your post. Please remember to <a href="/help/alt-text">write alt text for your image</a>! Codidact allows you to upload an image directly, or you can embed an external image from image hosting sites such as Imgur.</p> <h3 id="-lists-"><strong>Lists</strong></h3> <p> You can generate either an ordered list or a bullet list. For a bullet list, you can use either <code>*</code> or <code>-</code> to create your list.</p> <pre><code>* List <span class="hljs-keyword">item</span> <span class="hljs-literal">one</span> * List <span class="hljs-keyword">item</span> <span class="hljs-literal">two</span> </code></pre><p> This will render like this:</p> <blockquote> <ul> <li>List item one</li> <li>List item two</li> </ul> </blockquote> <p> If you want to create a numbered list, use <code>1.</code>, <code>2.</code>, etc instead of <code>*</code> or <code>-</code>. Note that the exact number you use, in most cases, is irrelevant - after the first number that you use, no matter what number you put in, Codidact will automatically number it in order. For instance, if you create a list and type <code>1. List item #1</code> for the first line, then <code>3. List item #2</code> for the second line, Codidact will automatically render the <code>3.</code> as a <code>2.</code>. If you begin your list at any other number, such as your first list item is numbered <code>5.</code>, Codidact will continue from that number onwards (with the next number automatically rendering as <code>6.</code>).</p> <h3 id="-horizontal-line-"><strong>Horizontal line</strong></h3> <p> You can use a horizontal line for separating sections of your post. Use <code>---</code> on its own line to generate a horizontal line.</p> <h3 id="-headings-"><strong>Headings</strong></h3> <p> You can include a heading in your post. Using a single hash symbol (<code>#</code>) before a line of your post will create a large heading, while adding another will create a slightly smaller heading (up to six different heading sizes).</p> <pre><code># Heading <span class="hljs-number">1</span> ## Heading <span class="hljs-number">2</span> ###### Heading <span class="hljs-number">6</span> </code></pre><blockquote> <h1 id="heading-1">Heading 1</h1> <h2 id="heading-2">Heading 2</h2> <h6 id="heading-6">Heading 6</h6> </blockquote> <h3 id="-footnotes-"><strong>Footnotes</strong></h3> <p> To include a footnote in your post, you can use the syntax <code>[^1]</code>. In your main text, include <code>Text[^1] and more text</code>, and at the bottom (where you want to include your footnote), place a line resembling <code>[^1]: footnote text</code>.</p>