This library provides an opinionated tiptap wrapper with support for Markdown that was created initially for Nextcloud Text.
🚧 Work in progress
:construction: Work in progress
License: GNU Affero General Public License v3.0
This library provides an opinionated tiptap wrapper with support for Markdown that was created initially for Nextcloud Text.
🚧 Work in progress
While passing the markdown to markdown it and using the HTML as a source for the prosemirror document works surprisingly well, a proper parser for this should be added at some point.
This could be based on https://github.com/ProseMirror/prosemirror-markdown/blob/4525cb287696f9f77b73bd2a28a2ad1271431b3a/src/from_markdown.js but needs a way to properly handle custom node types and marks.
From the logs:
644 silly install [email protected]
645 info lifecycle [email protected]~install: [email protected]
646 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle false
647 verbose lifecycle [email protected]~install: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/root/nextcloud-text/node_modules/deasync/node_modules/.bin:/root/nextcloud-text/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
648 verbose lifecycle [email protected]~install: CWD: /root/nextcloud-text/node_modules/deasync
649 silly lifecycle [email protected]~install: Args: [ '-c', 'node ./build.js' ]
650 silly lifecycle [email protected]~install: Returned: code: 1 signal: null
651 info lifecycle [email protected]~install: Failed to exec install script
I first ran yarn
then yarn build
. Both went fine.
Funny thing is /root/nextcloud-text/node_modules/deasync
does not exist.
It should be possible to edit plain text as well together with providing a highlighter for specific plain text filetypes.
Came up in https://github.com/nextcloud/server/pull/21082/files/dc3c146c93641c5aa06de0e3ee1663d9dfcbf577#diff-ed093d34ae18b2b15b23d4f64a7d8559 that it might be useful to have a plain preview component for markdown without loading any actual features.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.