60 lines
1.5 KiB
Swift
60 lines
1.5 KiB
Swift
import Foundation
|
|
|
|
/**
|
|
A string key used in markdown to indicate special elements
|
|
*/
|
|
enum ShorthandMarkdownKey: String {
|
|
|
|
/// A standard url
|
|
/// Format: ``
|
|
case url
|
|
|
|
/// An image
|
|
/// Format: ``
|
|
|
|
/// A variable number of download buttons for file downloads
|
|
/// Format: `[download](<<fileId>,<text>,<download-filename?>;...)`
|
|
case downloadButtons = "download"
|
|
|
|
/// A box with a title and content
|
|
/// Format: ``
|
|
case box
|
|
|
|
/// A 3D model to display
|
|
/// Format: ``
|
|
case model
|
|
|
|
/// A pretty link to another page on the site.
|
|
/// Format: ``
|
|
case pageLink = "page"
|
|
|
|
/// A large button to an external page.
|
|
/// Format: ``
|
|
case includedHtml = "html"
|
|
|
|
/// SVG Image showing only a part of the image
|
|
/// Format `![svg](<fileId>;`
|
|
case svg
|
|
|
|
}
|