Skip to content

Commit

Permalink
Expose MarkdownLineStyle as public (SimonFairbairn#120).
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanPartzsch committed Mar 6, 2024
1 parent 3591ca6 commit 42b1feb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/SwiftyMarkdown/SwiftyMarkdown.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ public enum CharacterStyle : CharacterStyling {
}
}

enum MarkdownLineStyle : LineStyling {
var shouldTokeniseLine: Bool {
public enum MarkdownLineStyle : LineStyling {
public var shouldTokeniseLine: Bool {
switch self {
case .codeblock:
return false
Expand Down Expand Up @@ -66,7 +66,7 @@ enum MarkdownLineStyle : LineStyling {
case orderedListIndentSecondOrder
case referencedLink

func styleIfFoundStyleAffectsPreviousLine() -> LineStyling? {
public func styleIfFoundStyleAffectsPreviousLine() -> LineStyling? {
switch self {
case .previousH1:
return MarkdownLineStyle.h1
Expand Down

0 comments on commit 42b1feb

Please sign in to comment.