Code Snippet

Different Code Block Examples (4)

  • Markdown: Use regular characters and punctuation to style text, links, and lists.
  • Code: Display code snippets that respect your spacing and tabs.
  • SyntaxHighlighter Code: Adds syntax highlighting to source code (front end only).
  • Embed: Add a block that displays content pulled from other sites, like Twitter or YouTube (or GitHub).
class Record: ObservableObject {
    @Published var content = "content"
}
class Record: ObservableObject {
    @Published var content = "content"
}
class Record: ObservableObject {
    @Published var content = "content"
}
class Record: ObservableObject {
@Published var content = "content"
}
view raw test2.swift hosted with ❤ by GitHub
test2.swift
Advertisement