New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rehype-pretty-code

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rehype-pretty-code - npm Package Compare versions

Comparing version 0.0.8 to 0.1.0

3

index.d.ts

@@ -0,1 +1,3 @@

import {Highlighter} from 'shiki';
type theme = JSON | string;

@@ -10,2 +12,3 @@

onVisitHighlightedWord(node: any): void;
getHighlighter?: (options: Pick<Options, 'theme'>) => Highlighter;
};

@@ -12,0 +15,0 @@

2

package.json
{
"name": "rehype-pretty-code",
"version": "0.0.8",
"version": "0.1.0",
"description": "A Rehype plugin to make the code your docs beautiful.",

@@ -5,0 +5,0 @@ "main": "./dist/rehype-pretty-code.cjs",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc