Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more Markdown formating #276

Open
molikto opened this issue Oct 22, 2017 · 8 comments
Open

Support more Markdown formating #276

molikto opened this issue Oct 22, 2017 · 8 comments

Comments

@molikto
Copy link

molikto commented Oct 22, 2017

  • 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

@WuTheFWasThat
Copy link
Owner

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
Copy link
Author

molikto commented Nov 6, 2017

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
Copy link
Owner

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
Copy link

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

@WuTheFWasThat
Copy link
Owner

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

@molikto
Copy link
Author

molikto commented Jan 16, 2020

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)

@jeanlucthumm
Copy link

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
Copy link
Owner

WuTheFWasThat commented Apr 14, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants