Browse Source

Convert H3's properly to HTML

master
Exa Stencil 6 months ago
parent
commit
22a345ca18
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      huge.rb

+ 1
- 1
huge.rb View File

@ -137,7 +137,7 @@ def gemini_to_html(gemtext)
"#{unquote.call line}#{unlist.call line}<h1>#{$1}</h1>"
when /^## (.*)/
"#{unquote.call line}#{unlist.call line}<h2>#{$1}</h2>"
when /^## (.*)/
when /^### (.*)/
"#{unquote.call line}#{unlist.call line}<h3>#{$1}</h3>"
when /^```/
in_pre = true


Loading…
Cancel
Save