Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ttscoff committed Nov 24, 2023
1 parent 0341c61 commit 9424b8d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2.0.15
: Highlight [[wiki links]]
: TaskPaper rendering refinements
: Handle TaskPaper tasks without project if --taskpaper is enabled
: Wiki link highlighting is optional with `--[no-]wiki-links` and can be set in config
: Nil error on short files
: Project regex matching `- PROJECT NAME:`
: If taskpaper is true, avoid all parsing other than tasks, projects, notes, and tags

2.0.8
: Image rendering with chafa improved, still have to figure out a way to make sure content breaks around the embedded image
: Only detect mmd headers on first line
Expand Down
3 changes: 2 additions & 1 deletion lib/mdless/console.rb
Original file line number Diff line number Diff line change
Expand Up @@ -613,13 +613,14 @@ def preprocess(input)
end
end

input = color_meta(input)

if @options[:taskpaper]
input = CLIMarkdown::TaskPaper.highlight(input, @theme)
input = highlight_tags(input)
return input
end

input = color_meta(input)

## Replace setex headers with ATX
input.gsub!(/^([^\n]+)\n={2,}\s*$/m, "# \\1\n")
Expand Down
2 changes: 1 addition & 1 deletion lib/mdless/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module CLIMarkdown
VERSION = '2.0.14'
VERSION = '2.0.15'
end

0 comments on commit 9424b8d

Please sign in to comment.