Skip to content

fix(prism): use correct type to pass test#296

Merged
yoshinorin merged 1 commit intohexojs:masterfrom
liby:master
Jan 6, 2023
Merged

fix(prism): use correct type to pass test#296
yoshinorin merged 1 commit intohexojs:masterfrom
liby:master

Conversation

@liby
Copy link
Contributor

@liby liby commented Jan 2, 2023

https://github.com/hexojs/hexo-util/blob/master/lib/prism.ts#LL57-L65C2

interface Options {
  caption?: string;
  firstLine?: number;
  isPreprocess?: boolean;
  lang?: string;
  lineNumber?: boolean;
  mark?: string;
  tab?: string;
}

@coveralls
Copy link

Coverage Status

Coverage: 95.527%. Remained the same when pulling 782f045 on liby:master into f53c77d on hexojs:master.

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.

Thank you ❤️

@yoshinorin yoshinorin merged commit 22cb935 into hexojs:master Jan 6, 2023
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