hexo icon indicating copy to clipboard operation
hexo copied to clipboard

feat(tag/code): add `language_attr` option (hexojs/hexo-util#278)

Open renbaoshuo opened this issue 3 years ago • 4 comments

What does it do?

Add an option called language_attr.

Screenshots

None.

Pull request tasks

  • [x] Add test cases for the changes.
  • [x] Passed the CI test.

renbaoshuo avatar Jul 16 '22 05:07 renbaoshuo

How to test

git clone -b highlight/language-attr https://github.com/renbaoshuo/hexo.git
cd hexo
npm install
npm test

github-actions[bot] avatar Jul 16 '22 05:07 github-actions[bot]

Coverage Status

Coverage increased (+0.001%) to 98.036% when pulling f935f183bfa4fe1fe8cad3141d440790720124fd on renbaoshuo:highlight/language-attr into b48f0950efd0608bb29ad79792950458b8afe018 on hexojs:master.

coveralls avatar Jul 16 '22 05:07 coveralls

@renbaoshuo Does we need release a new version of hexo-util before merge this PR?

yoshinorin avatar Jul 26 '22 12:07 yoshinorin

Pending https://github.com/hexojs/hexo-util/pull/279

yoshinorin avatar Aug 08 '22 14:08 yoshinorin