vimflowy icon indicating copy to clipboard operation
vimflowy copied to clipboard

Support more Markdown formating

Open molikto opened this issue 8 years ago • 8 comments

  • formats
    • code blocks
    • multi paragraph item like this
    • numbered list 1. item 1 2. item 2
    • raw code
      
    • pictures

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

molikto avatar Oct 22 '17 05:10 molikto

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!

WuTheFWasThat avatar Oct 22 '17 06:10 WuTheFWasThat

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 -_-

molikto avatar Nov 06 '17 15:11 molikto

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!

WuTheFWasThat avatar Nov 06 '17 17:11 WuTheFWasThat

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

jcjolley avatar Jan 15 '20 17:01 jcjolley

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

WuTheFWasThat avatar Jan 15 '20 18:01 WuTheFWasThat

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

  • It is not a good suit for a commercial product: it is a very small market, maybe just me will need something like this. One of Vimflowy, Dynalist or plain Markdown will be preferred by most other people
  • I cannot get some fundamental idea right: I got distracted trying to create a node-level styling system such that can express logical structures of a document in a compossible way, but found problems like this (search "logical" paragraphs)

molikto avatar Jan 16 '20 03:01 molikto

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

jeanlucthumm avatar Apr 14 '20 18:04 jeanlucthumm

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 :)

WuTheFWasThat avatar Apr 14 '20 23:04 WuTheFWasThat