[feature request] convert from buffer instead of file #10
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tec/org-pandoc-import#10
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi @tecosaur Thank you for your efforts on this project!
I'd like to see if it is possible to convert a markdown buffer (not a file) to org. The use case is that sometimes I encountered some markdown content online, I'd like to copy the markdown to a emacs buffer, then convert it to orgmode without saving the markdown file first somewhere.
EDIT: realized that this may be more than just markdown mode. I changed the issue title to reflect that.
EDIT2: I think the potential solution is to save the current file to a temporary location with filename suffix determined by the current major mode, then run the import function, then delete the temporary file.
Hmmm, this seems like a good idea but would require reworking a fair bit.
A PR would be great, otherwise expect to wait a few weeks-months.
( NB: It's not that much work, I'm just rather busy )
A regular use case I have is to paste/yank some markdown from my clipboard into an org file, so this sounds useful. 👍
My thought have no changed, but unfortunately neither has the amount of time I have available 😛, there's a good chance of this happening by the end of the year without a PR though.