-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
538 additions
and
103 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
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,3 @@ | ||
const mdxIcon = `M.79 7.12h22.42c.436 0 .79.355.79.792v8.176a.79.79 0 0 1-.79.79H.79a.79.79 0 0 1-.79-.79V7.912a.79.79 0 0 1 .79-.791V7.12Zm2.507 7.605v-3.122l1.89 1.89L7.12 11.56v3.122h1.055v-5.67l-2.99 2.99L2.24 9.056v5.67h1.055v-.001Zm8.44-1.845l-1.474-1.473l-.746.746l2.747 2.747l2.745-2.747l-.746-.746l-1.473 1.473v-4h-1.054v4Zm10.041.987l-2.175-2.175l2.22-2.22l-.746-.746l-2.22 2.22l-2.22-2.22l-.747.746l2.22 2.22l-2.176 2.177l.746.746l2.177-2.177l2.176 2.175l.745-.746Z`; | ||
|
||
export { mdxIcon }; |
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
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
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
const initialContent = `<h1>Welcome to Vrite Editor π</h1><p><strong>Vrite Editor</strong> is an <a target="_blank" rel="noopener noreferrer nofollow" href="https://github.com/vriteio/vrite">open-source</a>, minimalistic WYSIWYG Markdown editor.</p><h2>Features</h2><p><strong>Integrated Monaco editor and Prettier for code snippets</strong></p><pre><code class="language-javascript">console.log("Hello World!"); | ||
</code></pre><p><strong>Tables! π</strong></p><table><tbody><tr><th colspan="1" rowspan="1"><p>Header 1</p></th><th colspan="1" rowspan="1"><p>Header 2</p></th><th colspan="1" rowspan="1"><p>Header 3</p></th></tr><tr><td colspan="1" rowspan="1"><p>Cell 1A</p></td><td colspan="1" rowspan="1"><p>Cell 1B</p></td><td colspan="1" rowspan="1"><p>Cell 1C</p></td></tr><tr><td colspan="1" rowspan="1"><p>Cell 2A</p></td><td colspan="1" rowspan="1"><p>Cell 2B</p></td><td colspan="1" rowspan="1"><p>Cell 2C</p></td></tr><tr><td colspan="1" rowspan="1"><p>Cell 3A</p></td><td colspan="1" rowspan="1"><p>Cell 3B</p></td><td colspan="1" rowspan="1"><p>Cell 3C</p></td></tr></tbody></table><p><strong>Embeds π₯</strong></p><iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" data-embed="youtube" data-input="https://www.youtube.com/embed/dQw4w9WgXcQ"></iframe><p><strong>Zen mode</strong>, <strong>Markdown/HTML export</strong>, <strong>Stats</strong></p><p>Check out the top-right corner!</p><p><strong>A lot more stuff!</strong></p><p>Full usage guide here: <a target="_blank" rel="noopener noreferrer nofollow" href="https://docs.vrite.io/content-editor">https://docs.vrite.io/content-editor</a></p><h2>What is Vrite?</h2><p>Vrite Editor is a local, standalone, editor extracted from a larger project β <strong>Vrite</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://vrite.io">open-source, headless CMS for technical content</a>. If youβre interested in <strong>real-time collaboration</strong>, Kanban-based content management, GPT integration, customization and API access to your content, check out the full version of Vrite by <a target="_blank" rel="noopener noreferrer nofollow" href="https://app.vrite.io">signing in</a> using the button in the top-right corner.</p><img src="https://assets.vrite.io/64957f5b1f760acf4204d146/AFSfsVOvYWDOUUa3I2JL0.png" alt="Vrite dashboard" width="100%"><p>Some links to check out:</p><ul><li><p>π <strong>Star Vrite on GitHub</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://github.com/vriteio/vrite">https://github.com/vriteio/vrite</a></p></li><li><p>π <strong>Report bugs</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://github.com/vriteio/vrite/issues">https://github.com/vriteio/vrite/issues</a></p></li><li><p>π¦ <strong>Follow on Twitter</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://twitter.com/vriteio">https://twitter.com/vriteio</a></p></li><li><p>π¬ <strong>Join Vrite Discord</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://discord.gg/yYqDWyKnqE">https://discord.gg/yYqDWyKnqE</a></p></li><li><p>βΉοΈ <strong>Learn more about Vrite</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://vrite.io">https://vrite.io</a></p></li><li><p>π <strong>Vrite documentation</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://docs.vrite.io">https://docs.vrite.io</a></p></li></ul><p></p>`; | ||
const initialContent = `<h1 dir="auto" data-slug="welcome-to-vrite-editor">Welcome to Vrite Editor π</h1><p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://github.com/vriteio/vrite">Open-source</a>, minimalistic WYSIWYG Markdown editor.</p><h2 dir="auto" data-slug="features">Features</h2><p dir="auto"><strong>Integrated Monaco editor and Prettier for code snippets</strong></p><pre><code class="language-javascript">console.log("Hello World!");</code></pre><p dir="auto"><strong>Tables! π</strong></p><table><tbody><tr><th colspan="1" rowspan="1"><p dir="auto">Header 1</p></th><th colspan="1" rowspan="1"><p dir="auto">Header 2</p></th><th colspan="1" rowspan="1"><p dir="auto">Header 3</p></th></tr><tr><td colspan="1" rowspan="1"><p dir="auto">Cell 1A</p></td><td colspan="1" rowspan="1"><p dir="auto">Cell 1B</p></td><td colspan="1" rowspan="1"><p dir="auto">Cell 1C</p></td></tr><tr><td colspan="1" rowspan="1"><p dir="auto">Cell 2A</p></td><td colspan="1" rowspan="1"><p dir="auto">Cell 2B</p></td><td colspan="1" rowspan="1"><p dir="auto">Cell 2C</p></td></tr><tr><td colspan="1" rowspan="1"><p dir="auto">Cell 3A</p></td><td colspan="1" rowspan="1"><p dir="auto">Cell 3B</p></td><td colspan="1" rowspan="1"><p dir="auto">Cell 3C</p></td></tr></tbody></table><p dir="auto"><strong>Embeds π₯</strong></p><iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" data-embed="youtube" data-input="https://www.youtube.com/embed/dQw4w9WgXcQ"></iframe><p dir="auto"><strong>Zen mode</strong>, <strong>Markdown/HTML export</strong>, <strong>Stats</strong></p><p dir="auto">Check out the top-right corner!</p><p dir="auto"><strong>A lot more stuff!</strong></p><p dir="auto">Full usage guide here: <a target="_blank" rel="noopener noreferrer nofollow" href="https://docs.vrite.io/content-editor">https://docs.vrite.io/content-editor</a></p><h2 dir="auto" data-slug="what-is-vrite">What is Vrite?</h2><p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://vrite.io">Vrite</a> is an <a target="_blank" rel="noopener noreferrer nofollow" href="https://github.com/vriteio/vrite">open-source</a>, collaborative, developer content platform for documentation, knowledge bases, and technical blogs.</p><p dir="auto">With an extensible, collaborative editor, content management dashboard, and features like semantic search, GitHub sync, and more β all accessible via powerful API β Vrite aims to provide an all-in-one experience for creating, managing, and publishing all kinds of technical content. </p><img src="http://localhost:8888/65017ed7b0e627e259623b8a/q0HUeyQ1aeElfzaZkdNWn.png" alt="Vrite Kanban dashboard" width="100%" aspectratio="1.5855758880516684"><p dir="auto">Some links to check out:</p><ul dir="auto"><li><p dir="auto">π <strong>Star Vrite on GitHub</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://github.com/vriteio/vrite">https://github.com/vriteio/vrite</a></p></li><li><p dir="auto">π <strong>Report bugs</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://github.com/vriteio/vrite/issues">https://github.com/vriteio/vrite/issues</a></p></li><li><p dir="auto">π¦ <strong>Follow on Twitter</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://twitter.com/vriteio">https://twitter.com/vriteio</a></p></li><li><p dir="auto">π¬ <strong>Join Vrite Discord</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://discord.gg/yYqDWyKnqE">https://discord.gg/yYqDWyKnqE</a></p></li><li><p dir="auto">βΉοΈ <strong>Learn more about Vrite</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://vrite.io">https://vrite.io</a></p></li><li><p dir="auto">π <strong>Vrite documentation</strong> β <a target="_blank" rel="noopener noreferrer nofollow" href="https://docs.vrite.io">https://docs.vrite.io</a></p></li></ul><p dir="auto"></p>`; | ||
|
||
export { initialContent }; |
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
Oops, something went wrong.