• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

markdown-it / markdown-it
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: refs/tags/14.1.0
DEFAULT BRANCH: master
Repo Added 19 Dec 2014 11:09PM UTC
Files 53
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH hl
branch: hl
CHANGE BRANCH
x
Reset
  • hl
  • 0.17
  • 0.19
  • 0.21
  • 0.24
  • 0.28
  • 0.30
  • 10.0.0
  • 11.0.0
  • 11.0.1
  • 12.0.0
  • 12.0.1
  • 12.0.2
  • 3.0.0
  • 3.0.1
  • 3.0.2
  • 3.0.3
  • 3.0.4
  • 3.0.5
  • 3.0.7
  • 3.1.0
  • 4.0
  • 4.0.0
  • 4.0.1
  • 4.0.2
  • 4.0.3
  • 4.1.0
  • 4.1.1
  • 4.1.2
  • 4.2.0
  • 4.2.1
  • 4.2.2
  • 4.3.0
  • 4.4.0
  • 5.0.0
  • 5.0.1
  • 5.0.2
  • 5.0.3
  • 5.1.0
  • 6.0.0
  • 6.0.1
  • 6.0.2
  • 6.0.3
  • 6.0.4
  • 6.0.5
  • 6.1.0
  • 6.1.1
  • 696
  • 7.0.0
  • 7.0.1
  • 720
  • 724
  • 772
  • 8.0.0
  • 8.0.1
  • 8.1.0
  • 8.2.0
  • 8.2.1
  • 8.2.2
  • 8.3.0
  • 8.3.1
  • 8.3.2
  • 8.4.0
  • 8.4.1
  • 8.4.2
  • 830
  • 9.0.0
  • 9.0.1
  • 9.1.0
  • abbr
  • actions
  • autolink
  • autolink_replacements
  • babelmark
  • backtick
  • bq_indent
  • build
  • changelog
  • cmark
  • cmark29
  • comment
  • compiler
  • cov
  • cov2
  • coverage
  • crlf-fix
  • delims
  • demo
  • dependabot/github_actions/actions/checkout-3
  • dependabot/github_actions/actions/setup-node-2.5.1
  • dependabot/github_actions/actions/setup-node-3
  • dependabot/github_actions/actions/setup-node-4
  • dependabot/github_actions/coverallsapp/github-action-1.1.3
  • dependabot/npm_and_yarn/entities-3.0.1
  • dependabot/npm_and_yarn/mdurl-2.0.0
  • dev
  • dev-2
  • em
  • emph
  • emph3
  • emph4
  • emphasis
  • emphasis_perf
  • eol
  • es6
  • escapes
  • exit
  • fences
  • fix-896
  • fix-bq
  • fix-quote-term
  • fixes
  • fixes2
  • helpers
  • hl2
  • issue76
  • levels
  • lheading
  • markup
  • master
  • mdurl
  • migration
  • mn
  • mn2
  • mono
  • next
  • normalize2
  • ol
  • p
  • path
  • pathological
  • perf
  • proto
  • punycode
  • push
  • quotes
  • ref-draft
  • refactors
  • references
  • refs
  • refs/tags/12.0.3
  • refs/tags/12.0.4
  • refs/tags/12.0.5
  • refs/tags/12.0.6
  • refs/tags/12.1.0
  • refs/tags/12.2.0
  • refs/tags/12.3.0
  • refs/tags/12.3.1
  • refs/tags/12.3.2
  • refs/tags/13.0.0
  • refs/tags/13.0.1
  • refs/tags/13.0.2
  • refs/tags/14.0.0
  • refs/tags/14.1.0
  • scandelims
  • sharetoken
  • skipToken
  • skiplastlf
  • smartq
  • smartquotes
  • sp
  • spec
  • ss
  • table
  • table-fix
  • table-tabs
  • tables
  • tables3
  • tabs
  • td2
  • test
  • tests
  • title
  • tokenclass
  • tropen
  • typographer
  • uglify
  • unescapeAll
  • update
  • updates
  • urllimit
  • workaround
  • yemph

pending completion
839

push

travis-ci

rlidwka
Add lang str remainder to highlight callback

    ``` javascript {line-numbers=5 highlight=14-17}
    test
    ```

This markup now calls `highlight` like this:

    require('markdown-it')({
      highlight(code, lang, attrs) {
        assert(code === 'test')
        assert(lang === 'javascript')
        assert(attrs === '{line-numbers=5 highlight=14-17}')
      }
    })

1409 of 1425 branches covered (98.88%)

2206 of 2209 relevant lines covered (99.86%)

463.3 hits per line

Relevant lines Covered
Build:
Build:
2209 RELEVANT LINES 2206 COVERED LINES
463.3 HITS PER LINE
Source Files on hl
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
839 hl Add lang str remainder to highlight callback ``` javascript {line-numbers=5 highlight=14-17} test ``` This markup now calls `highlight` like this: require('markdown-it')({ highlight(code, lang, attrs) { assert(code... push 14 Sep 2020 04:45PM UTC rlidwka travis-ci pending completion  
See All Builds (1286)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc