ImportFormat

public enum ImportFormat : CustomStringConvertible, JSONRepresentable

The import format of the incoming data.

  • The provided data is interpreted as standard HTML.

    Declaration

    Swift

    case html
  • The provided data is interpreted as markdown. The first line of the provided document will be used as the doc title.

    Declaration

    Swift

    case markdown
  • The provided data is interpreted as plain text. The first line of the provided document will be used as the doc title.

    Declaration

    Swift

    case plainText
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }