Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Github markdown language identifier for Swift code?

I'm using https://jbt.github.io/markdown-editor online tool for documentation. I'm wondering if there's an identifier to recognize the swift syntax elements.

Thank you.

like image 280
anitteb Avatar asked Apr 24 '17 12:04

anitteb


People also ask

How do you specify a language in Markdown?

Depending on your Markdown processor or editor, you'll use three backticks ( ``` ) or three tildes ( ~~~ ) on the lines before and after the code block.

Which Markdown does GitHub use?

GitHub Pages supports two Markdown processors: kramdown and GitHub's own Markdown processor, which is used to render GitHub Flavored Markdown (GFM) throughout GitHub.

Is Markdown a coding?

Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents. Created by John Gruber in 2004, Markdown is now one of the world's most popular markup languages.


1 Answers

```swift
struct Animal {
    let nickName : String?
}
```

should do it

like image 66
Mike JS Choi Avatar answered Oct 07 '22 00:10

Mike JS Choi