Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 6, 2023
Merged

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