-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add community plugins in README and docs
- Loading branch information
1 parent
d332852
commit 893742d
Showing
6 changed files
with
142 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<script lang="ts"> | ||
import { Archive, GithubLogo } from 'radix-icons-svelte'; | ||
export let npmLink: string; | ||
export let githubLink: string; | ||
</script> | ||
|
||
<div class="plugin-link mb-2 mt-6 inline-flex items-center space-x-3"> | ||
<slot /> | ||
|
||
<a href={githubLink}> | ||
<GithubLogo class="h-6 w-6 text-white hover:text-sky-300" /> | ||
</a> | ||
<a href={npmLink}> | ||
<Archive class="h-6 w-6 text-white hover:text-sky-300" /> | ||
</a> | ||
</div> | ||
|
||
<style> | ||
:global(.plugin-link h1, .plugin-link h2, .plugin-link h3) { | ||
margin: 0; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
--- | ||
title: Community Plugins | ||
section: Overview | ||
--- | ||
|
||
<script> | ||
import PluginLink from '$lib/components/link/PluginLink.svelte'; | ||
import Code from '$lib/components/code/Code.svelte'; | ||
</script> | ||
|
||
Here are is a list of several plugins developed by the community: | ||
|
||
<PluginLink | ||
npmLink="https://github.com/maisonsmd/carta-plugin-subscript" | ||
githubLink="https://github.com/maisonsmd/carta-plugin-subscript"> | ||
|
||
### `carta-plugin-subscript` | ||
|
||
</PluginLink> | ||
|
||
> Adds ability to render online video from Youtube or Vimeo. | ||
<Code> | ||
|
||
``` | ||
npm i carta-plugin-subscript | ||
``` | ||
|
||
</Code> | ||
|
||
<PluginLink | ||
npmLink="https://github.com/maisonsmd/carta-plugin-imsize" | ||
githubLink="https://www.npmjs.com/package/carta-plugin-imsize"> | ||
|
||
### `carta-plugin-imsize` | ||
|
||
</PluginLink> | ||
|
||
> Adds ability to render images in specific sizes. | ||
<Code> | ||
|
||
``` | ||
npm i carta-plugin-imsize | ||
``` | ||
|
||
</Code> | ||
|
||
<PluginLink | ||
npmLink="https://github.com/maisonsmd/carta-plugin-ins-del" | ||
githubLink="https://github.com/maisonsmd/carta-plugin-ins-del"> | ||
|
||
### `carta-plugin-ins-del` | ||
|
||
</PluginLink> | ||
|
||
> `<ins>` and `<del>` tags support | ||
<Code> | ||
|
||
``` | ||
npm i carta-plugin-ins-del | ||
``` | ||
|
||
</Code> | ||
|
||
<PluginLink | ||
npmLink="https://github.com/maisonsmd/carta-plugin-subscript" | ||
githubLink="https://github.com/maisonsmd/carta-plugin-subscript"> | ||
|
||
### `carta-plugin-subscript` | ||
|
||
</PluginLink> | ||
|
||
> Adds ability to render subscripts and superscripts. | ||
<Code> | ||
|
||
``` | ||
npm i carta-plugin-subscript | ||
``` | ||
|
||
</Code> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters