Tiptap: Visible Markdown Formatting

Created on 26 Dec 2018  路  4Comments  路  Source: ueberdosis/tiptap

Hey, I鈥檝e tried looking through the examples and ProseMirror documentation, but I鈥檓 a little lost so I thought I鈥檇 ask here.

I鈥檇 like to use tiptap to enable the kind of Markdown formatting that apps like Ulysses offer. Specifically when the regex I provide in the respective node/mark class is matched, I鈥檇 like to only change the markup (say from a p to an h1 tag) but keep the hash and space that triggered the change. I don鈥檛 fully understand them yet but could I write a custom Prosemirror input rule to handle this?

Additionally, could I then use a Vue component in the view method to style the hash separately from the actual content of the h1?

feature request

Most helpful comment

Hey, this would be a great feature. Unfortunately there is no Markdown support currently (#66). But after integrating markdown I think of a mode setting for rendering the editor. this could be html (default), markdown (plain text) and visibleMarkdown (your feature request). But that will take some time and it's not on top of my list at the moment. So please be patient. 馃檶

All 4 comments

Hey, this would be a great feature. Unfortunately there is no Markdown support currently (#66). But after integrating markdown I think of a mode setting for rendering the editor. this could be html (default), markdown (plain text) and visibleMarkdown (your feature request). But that will take some time and it's not on top of my list at the moment. So please be patient. 馃檶

@philippkuehn No md support? But I just saw it myself. That's strange...

This would be my number one request !

I dont have plans to implement this anymore.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

unikitty37 picture unikitty37  路  3Comments

agentq15 picture agentq15  路  3Comments

ageeye-cn picture ageeye-cn  路  3Comments

jetacpp picture jetacpp  路  3Comments

winterdedavid picture winterdedavid  路  3Comments