Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

carta-md

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carta-md - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

package.json

@@ -14,3 +14,3 @@ {

},
"version": "2.0.2",
"version": "2.0.3",
"scripts": {

@@ -17,0 +17,0 @@ "dev": "vite dev",

@@ -124,11 +124,13 @@ <div align="center">

| Name | Type | Description |
| ------------------ | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `markedExtensions` | `marked.MarkedExtension[]` | Marked extensions, more on that [here](https://marked.js.org/using_advanced) |
| `shortcuts` | `KeyboardShortcut[]` | Additional keyboard shortcuts |
| `icons` | `CartaIcon[]` | Additional icons |
| `prefixes` | `Prefix[]` | Additional prefixes |
| `listeners` | `CartaListener[]` | Textarea event listeners |
| `components` | `CartaExtensionComponentArray` | Additional components, that will be put after the editor. All components are given a `carta: Carta`. prop The editor has a `relative` position, so you can position elements absolutely |
| `highlightRules` | `HighlightRule[]` | Custom markdown highlight rules. See [Speed-Highlight Wiki](https://github.com/speed-highlight/core/wiki/Create-or-suggest-new-languages). |
| Name | Type | Description |
| ------------------ | ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `markedExtensions` | `marked.MarkedExtension[]` | Marked extensions, more on that [here](https://marked.js.org/using_advanced) |
| `shortcuts` | `KeyboardShortcut[]` | Additional keyboard shortcuts |
| `icons` | `CartaIcon[]` | Additional icons |
| `prefixes` | `Prefix[]` | Additional prefixes |
| `listeners` | `CartaListener[]` | Textarea event listeners |
| `components` | `CartaExtensionComponentArray` | Additional components, that will be put after the editor. All components are given a `carta: Carta`. prop The editor has a `relative` position, so you can position elements absolutely |
| `highlightRules` | `HighlightRule[]` | Custom markdown highlight rules. See [Speed-Highlight Wiki](https://github.com/speed-highlight/core/wiki/Create-or-suggest-new-languages). |
| `cartaRef` | `(carta: Carta) => void` | This function can be used to access a reference to the `Carta` class immediately after initialization. |
| `shjRef` | `(functions: HighlightFunctions) => void` | This function can be used to access a reference to all highlight functions immediately after initialization. |

@@ -135,0 +137,0 @@ If you created a plugin and want to share it, you can open an _issue_ and we will consider sponsoring it on this guide.

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