Skip to content

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

Merged
renbaoshuo merged 1 commit intohexojs:masterfrom
renbaoshuo:highlight/language-attr
Sep 6, 2022
Merged

feat(tag/code): add language_attr option (hexojs/hexo-util#278)#5017
renbaoshuo merged 1 commit intohexojs:masterfrom
renbaoshuo:highlight/language-attr

Conversation

@renbaoshuo
Copy link
Member

What does it do?

Add an option called language_attr.

Screenshots

None.

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.

@github-actions
Copy link

How to test

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

@coveralls
Copy link

coveralls commented Jul 16, 2022

Coverage Status

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

@yoshinorin
Copy link
Member

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

@yoshinorin
Copy link
Member

Pending hexojs/hexo-util#279

@renbaoshuo renbaoshuo marked this pull request as draft August 19, 2022 07:24
@renbaoshuo renbaoshuo force-pushed the highlight/language-attr branch from 4377d80 to f935f18 Compare August 19, 2022 14:39
@renbaoshuo renbaoshuo marked this pull request as ready for review August 19, 2022 14:39
Copy link
Member

@yoshinorin yoshinorin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👌

@yoshinorin yoshinorin mentioned this pull request Aug 30, 2022
2 tasks
@renbaoshuo renbaoshuo merged commit 6deeb8d into hexojs:master Sep 6, 2022
@renbaoshuo renbaoshuo deleted the highlight/language-attr branch September 6, 2022 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants