Skip to content

Commit

Permalink
Add trailing slashes to internal links
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcone committed Sep 27, 2023
1 parent 67cd038 commit 2460702
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 27 deletions.
14 changes: 7 additions & 7 deletions _data/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

headings:
name: Headings
link: /basic-syntax#headings
link: /basic-syntax/#headings

paragraphs:
name: Paragraphs
Expand All @@ -15,27 +15,27 @@ line-breaks:

bold:
name: Bold
link: /basic-syntax#bold
link: /basic-syntax/#bold

italic:
name: Italic
link: /basic-syntax#italic
link: /basic-syntax/#italic

blockquotes:
name: Blockquotes
link: /basic-syntax#blockquotes-1
link: /basic-syntax/#blockquotes-1

ordered-lists:
name: Ordered Lists
link: /basic-syntax#ordered-lists
link: /basic-syntax/#ordered-lists

unordered-lists:
name: Unordered Lists
link: /basic-syntax#unordered-lists
link: /basic-syntax/#unordered-lists

code:
name: Code
link: /basic-syntax#code
link: /basic-syntax/#code

horizontal-rules:
name: Horizontal Rules
Expand Down
2 changes: 1 addition & 1 deletion _extended-syntax/fenced-code-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ syntax-summary: |
```
---

The basic Markdown syntax allows you to create [code blocks](/basic-syntax#code-blocks) by indenting lines by four spaces or one tab. If you find that inconvenient, try using fenced code blocks. Depending on your Markdown processor or editor, you'll use three backticks (<code>```</code>) or three tildes (`~~~`) on the lines before and after the code block. The best part? You don't have to indent any lines!
The basic Markdown syntax allows you to create [code blocks](/basic-syntax/#code-blocks) by indenting lines by four spaces or one tab. If you find that inconvenient, try using fenced code blocks. Depending on your Markdown processor or editor, you'll use three backticks (<code>```</code>) or three tildes (`~~~`) on the lines before and after the code block. The best part? You don't have to indent any lines!

~~~~~~~~~
```
Expand Down
2 changes: 1 addition & 1 deletion _extended-syntax/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ title: Overview
syntax-id: overview
---

The [basic syntax](/basic-syntax) outlined in the original Markdown design document added many of the elements needed on a day-to-day basis, but it wasn't enough for some people. That's where extended syntax comes in.
The [basic syntax](/basic-syntax/) outlined in the original Markdown design document added many of the elements needed on a day-to-day basis, but it wasn't enough for some people. That's where extended syntax comes in.

Several individuals and organizations took it upon themselves to extend the basic syntax by adding additional elements like tables, code blocks, syntax highlighting, URL auto-linking, and footnotes. These elements can be enabled by using a lightweight markup language that builds upon the basic Markdown syntax, or by adding an extension to a compatible Markdown processor.
2 changes: 1 addition & 1 deletion _tools/carrd.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ syntax:
available: n
- id: links
available: p
notes: "The link styles for [URLs and email addresses](/basic-syntax#urls-and-email-addresses) and [reference-style links](/basic-syntax#reference-style-links) are not supported."
notes: "The link styles for [URLs and email addresses](/basic-syntax/#urls-and-email-addresses) and [reference-style links](/basic-syntax/#reference-style-links) are not supported."
- id: images
available: n
- id: tables
Expand Down
28 changes: 14 additions & 14 deletions _tools/slack.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The Slack message interface provides support for the following the Markdown elem
</thead>
<tbody>
<tr>
<td><a href="/basic-syntax#headings">Headings</a></td>
<td><a href="/basic-syntax/#headings">Headings</a></td>
<td class="table-danger">No</td>
<td></td>
</tr>
Expand All @@ -53,32 +53,32 @@ The Slack message interface provides support for the following the Markdown elem
<td>The Markdown syntax is not supported, but you can press the Shift and Return keys to go to the next line.</td>
</tr>
<tr>
<td><a href="/basic-syntax#bold">Bold</a></td>
<td><a href="/basic-syntax/#bold">Bold</a></td>
<td class="table-danger">No</td>
<td>The Markdown syntax is not supported, but you can add bold styling with single asterisks, which is the standard Markdown syntax for italic. Very confusing!</td>
</tr>
<tr>
<td><a href="/basic-syntax#italic">Italic</a></td>
<td><a href="/basic-syntax/#italic">Italic</a></td>
<td class="table-warning">Partial</td>
<td>Only underscores are supported.</td>
</tr>
<tr>
<td><a href="/basic-syntax#blockquotes-1">Blockquotes</a></td>
<td><a href="/basic-syntax/#blockquotes-1">Blockquotes</a></td>
<td class="table-success">Yes</td>
<td></td>
</tr>
<tr>
<td><a href="/basic-syntax#ordered-lists">Ordered Lists</a></td>
<td><a href="/basic-syntax/#ordered-lists">Ordered Lists</a></td>
<td class="table-danger">Partial</td>
<td>Standard Markdown syntax is *only* supported if WYSIWIG editor is disabled.</td>
</tr>
<tr>
<td><a href="/basic-syntax#unordered-lists">Unordered Lists</a></td>
<td><a href="/basic-syntax/#unordered-lists">Unordered Lists</a></td>
<td class="table-danger">Partial</td>
<td>Standard Markdown syntax is *only* supported if WYSIWIG editor is disabled. Only supports dash and asterisk for unordered list.</td>
</tr>
<tr>
<td><a href="/basic-syntax#code">Code</a></td>
<td><a href="/basic-syntax/#code">Code</a></td>
<td class="table-warning">Partial</td>
<td><a href="/basic-syntax/#code-blocks">Code blocks</a> are not supported.</td>
</tr>
Expand Down Expand Up @@ -206,7 +206,7 @@ The Slack post interface provides support for the following Markdown elements.
</thead>
<tbody>
<tr>
<td><a href="/basic-syntax#headings">Headings</a></td>
<td><a href="/basic-syntax/#headings">Headings</a></td>
<td class="table-warning">Partial</td>
<td>Only heading levels one and two are supported. Only number signs are supported.</td>
</tr>
Expand All @@ -221,32 +221,32 @@ The Slack post interface provides support for the following Markdown elements.
<td></td>
</tr>
<tr>
<td><a href="/basic-syntax#bold">Bold</a></td>
<td><a href="/basic-syntax/#bold">Bold</a></td>
<td class="table-danger">No</td>
<td>The Markdown syntax is not supported, but you can add bold styling with single asterisks, which is the standard Markdown syntax for italic. Very confusing!</td>
</tr>
<tr>
<td><a href="/basic-syntax#italic">Italic</a></td>
<td><a href="/basic-syntax/#italic">Italic</a></td>
<td class="table-warning">Partial</td>
<td>Only underscores are supported.</td>
</tr>
<tr>
<td><a href="/basic-syntax#blockquotes-1">Blockquotes</a></td>
<td><a href="/basic-syntax/#blockquotes-1">Blockquotes</a></td>
<td class="table-success">Yes</td>
<td></td>
</tr>
<tr>
<td><a href="/basic-syntax#ordered-lists">Ordered Lists</a></td>
<td><a href="/basic-syntax/#ordered-lists">Ordered Lists</a></td>
<td class="table-success">Yes</td>
<td></td>
</tr>
<tr>
<td><a href="/basic-syntax#unordered-lists">Unordered Lists</a></td>
<td><a href="/basic-syntax/#unordered-lists">Unordered Lists</a></td>
<td class="table-success">Yes</td>
<td></td>
</tr>
<tr>
<td><a href="/basic-syntax#code">Code</a></td>
<td><a href="/basic-syntax/#code">Code</a></td>
<td class="table-success">Yes</td>
<td></td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion about.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Find a typo or inaccurate statement? Please [create an issue](https://github.com

## Contacting

Use the [contact form](/contact) to send a message to the maintainer of *The Markdown Guide*.
Use the [contact form](/contact/) to send a message to the maintainer of *The Markdown Guide*.

## Acknowledgements

Expand Down
2 changes: 1 addition & 1 deletion assets/markdown-cheat-sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Thanks for visiting [The Markdown Guide](https://www.markdownguide.org)!

This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can’t cover every edge case, so if you need more information about any of these elements, refer to the reference guides for [basic syntax](https://www.markdownguide.org/basic-syntax) and [extended syntax](https://www.markdownguide.org/extended-syntax).
This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can’t cover every edge case, so if you need more information about any of these elements, refer to the reference guides for [basic syntax](https://www.markdownguide.org/basic-syntax/) and [extended syntax](https://www.markdownguide.org/extended-syntax/).

## Basic Syntax

Expand Down
2 changes: 1 addition & 1 deletion cheat-sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ last_modified_at: 2021-12-05

## Overview

This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can't cover every edge case, so if you need more information about any of these elements, refer to the reference guides for [basic syntax](/basic-syntax) and [extended syntax](/extended-syntax).
This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can't cover every edge case, so if you need more information about any of these elements, refer to the reference guides for [basic syntax](/basic-syntax/) and [extended syntax](/extended-syntax/).

## Basic Syntax

Expand Down

0 comments on commit 2460702

Please sign in to comment.