WuTheFWasThat / vimflowy

An open source productivity tool drawing inspiration from workflowy and vim
https://www.wuthejeff.com/vimflowy
MIT License
1.6k stars 111 forks source link

Support more Markdown formating #276

Open molikto opened 6 years ago

molikto commented 6 years ago

This is not going to make Vimflowy a "rich editor" because the editing mode is still text-based, but the good thing about Vimflowy is it is easier to preview things (compared to Markdown live preview), so it should be more useful to have more formating

WuTheFWasThat commented 6 years ago

multiparagraph should work with shift+enter in insert mode

it may not be too hard to support these things - see src/plugins/html/index.tsx and src/plugins/latex/index.tsx for examples of similar plugins. you can already do those things via the html plugin, though html is definitely less nice than markdown!

molikto commented 6 years ago

After sometime trying out, I think the parser should directly support formating, not as a plugin. For example, I am migrating some old notes from Pandoc, and **$\omega$-accumulation point** is not displayed correctly.

I might write my own version of vimflowy using Kotlin and Kotlin.js... let's see -_-

WuTheFWasThat commented 6 years ago

yeah, I knew that having it as a plugin creates some limitations/issues, but I wanted it that way for other reasons.

whoah, cool! let me know if you do, I'd be interested in looking at the code and trying it out!

jcjolley commented 4 years ago

@WuTheFWasThat he did it! https://github.com/molikto/CherryTree

WuTheFWasThat commented 4 years ago

yeah, I tried an early version at some point! @molikto how has it been going?

molikto commented 4 years ago

I've been using it personally and satisfied with it, but I am no longer activity developing it anymore:

jeanlucthumm commented 4 years ago

I would also really like the ability to handle mark down style web links. I don't think there's a way to shorten links at this point so I end up with just big ass URLs in my notes

WuTheFWasThat commented 4 years ago

not ideal, but there's an HTML plugin so that you can just inline raw html!

this is a <span><a href="https://www.github.com/wuthefwasthat/vimflowy">link</a></span>

pull requests welcome to make it nicer :)