holtwick / onepile

Playground for the future of private notes and document management
https://onepile.app
MIT License
49 stars 4 forks source link

Markdown Support #20

Closed holtwick closed 5 years ago

holtwick commented 5 years ago
andre68723 commented 5 years ago

is "Copy plain text as Markdown" suitable for manually importing Markdown into a new note? If yes, how does it work. C&P did not bring the expected result with 1058. Thanks

holtwick commented 5 years ago

@andrev68 If you copy text from a note it is already put to the pasteboard as plain text with Markdown formatting and some other Formats as HTML. Pasting is not yet fully supported.

Could you describe the action you would like to perform a little more? From which app you would like to copy and where to paste? I would like to reproduce the concrete steps. Thanks.

andre68723 commented 5 years ago

please c&p from chrome into a new note. I'd expect to either have it auto-recognized as MD and display formatted, or else, switch to a source view where I can insert the MD code

holtwick commented 5 years ago

I see. Is there any other app with rich text representation capable of doing that out of the box, that could provide as an example? Technically the problem is to recognize Markdown as such.

Currently, I tend to implement different behaviors when being inside of triple ` / code block and when not being inside of such. But I agree, this is a required feature.

andre68723 commented 5 years ago

No, not found any, even in atom. For files, the MD extension should do, for C&P adding a "set grammar" looks handy.

PS: Eventually this is also a general question for default, some like rich text, some don't accept any proprietary formats but just plain markdown

holtwick commented 5 years ago
holtwick commented 5 years ago

Markdown support is out for macOS, see https://onepile.app/en/blog/markdown

holtwick commented 5 years ago

Follow up at #116