Add tag command

This commit is contained in:
Christoph Hagen
2024-12-14 19:02:01 +01:00
parent cdaaa36303
commit 657f8c4ef4
8 changed files with 77 additions and 14 deletions

View File

@@ -5,10 +5,6 @@ import Foundation
*/
enum ShorthandMarkdownKey: String {
/// A standard url
/// Format: `![url](<url>;<text>)`
case url
/// An image
/// Format: `![image](<imageId>;<caption?>]`
case image
@@ -37,6 +33,10 @@ enum ShorthandMarkdownKey: String {
/// Format: `![page](<pageId>)`
case pageLink = "page"
/// A pretty link to a tag list on the site.
/// Format: `![tag](<tagId>)`
case tagLink = "tag"
/// Additional HTML code include verbatim into the page.
/// Format: `![html](<fileId>)`
case includedHtml = "html"