Skip to content

Commit

Permalink
Merge branch 'release/2.1.13'
Browse files Browse the repository at this point in the history
* release/2.1.13:
  ### 2.1.13
  remove debugging
  • Loading branch information
ttscoff committed Dec 4, 2023
2 parents ce646bd + c94ca93 commit a608150
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
2.1.13
: Remove debugging statement

2.1.12
: Fix list indentation when nesting

2.1.11
: Better regex for highlighting raw HTML
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ You can also use 3 or 6-digit hex codes in place of color names. These can be pr

Some extra (non-color) settings are available for certain keys, e.g. `pad_char` to define the right padding character used on level 1 and 2 headlines. Note that you can change the [Pygments](http://pygments.org/) theme used for syntax highlighting with the code_block.pygments_theme setting. For a list of available styles (assuming you have Pygments installed), use `pygmentize -L styles`.

The display of characters around emphasis and code spans can be configured. By default, the surrounding character for bold is `**`, italic is `_`, and code span is \`. You can leave these keys empty to not display characters at all. For triple-emphasized text, the text will be surrounded by italic and bold characters, in that order.
The display of characters around emphasis and code spans can be configured. By default, the surrounding character for bold is `**`, italic is `_`, and code span is a backtick. You can leave these keys empty to not display characters at all. For triple-emphasized text, the text will be surrounded by italic and bold characters, in that order.

```yaml
emphasis:
Expand Down
3 changes: 1 addition & 2 deletions lib/mdless/console.rb
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ def list_item(text, list_type)
def indent_lines(input, spaces)
return nil if input.nil?

indent = spaces.scan(/\t/).count
indent = spaces.scan(/ /).count

lines = input.split(/\n/)
line1 = lines.shift
Expand Down Expand Up @@ -1073,7 +1073,6 @@ def postprocess(input)
input = reference_links(input) if MDLess.options[:links] == :reference || MDLess.options[:links] == :paragraph
# lists
input = fix_lists(input)
puts input
fix_colors(input)
end
end
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.1.12'
VERSION = '2.1.13'
end

0 comments on commit a608150

Please sign in to comment.