Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
Signed-off-by: Egor Kovetskiy <[email protected]>
  • Loading branch information
kovetskiy committed Oct 19, 2022
1 parent 1ebb29e commit ef71aa1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type Flags struct {
}

const (
version = "8.1"
version = "8.4"
usage = `mark - a tool for updating Atlassian Confluence pages from markdown.
Docs: https://github.com/kovetskiy/mark
Expand Down Expand Up @@ -120,11 +120,11 @@ func main() {
log.Fatal(err)
}

if ! flags.TitleFromH1 && config.H1Title {
if !flags.TitleFromH1 && config.H1Title {
flags.TitleFromH1 = true
}

if ! flags.DropH1 && config.H1Drop {
if !flags.DropH1 && config.H1Drop {
flags.DropH1 = true
}

Expand Down Expand Up @@ -289,8 +289,8 @@ func processFile(
)
markdown = mark.DropDocumentLeadingH1(markdown)
}
fmt.Println(mark.CompileMarkdown(markdown, stdlib))

fmt.Println(mark.CompileMarkdown(markdown, stdlib))
os.Exit(0)
}

Expand Down

0 comments on commit ef71aa1

Please sign in to comment.