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

Markdown in the editor #14

Open
oyeanuj opened this Issue Jan 4, 2016 · 11 comments

Comments

Projects
None yet
8 participants
@oyeanuj

oyeanuj commented Jan 4, 2016

Hi @IonicaBizau!

Thanks for this extension. If I understand it correctly, this allows the output of the Medium editor to be Markdown output. Is there any ability to have the Medium Editor understand Markdown when a user enters Markdown and translate that to Html?

@IonicaBizau

This comment has been minimized.

Show comment
Hide comment
@IonicaBizau

IonicaBizau Jan 5, 2016

Owner

@oyeanuj I will take a closer look, but in short it should be something like:

  1. Convert the markdown in HTML.
  2. Set the new HTML in the editor. Not sure what's the best way to do this.

❇️

Owner

IonicaBizau commented Jan 5, 2016

@oyeanuj I will take a closer look, but in short it should be something like:

  1. Convert the markdown in HTML.
  2. Set the new HTML in the editor. Not sure what's the best way to do this.

❇️

@adriaanvanrossum

This comment has been minimized.

Show comment
Hide comment
@adriaanvanrossum

adriaanvanrossum Feb 5, 2016

This extension looks good, but it would be better to have support for Markdown as in input to the editor instead of the output. I'm using it as a Jekyll editor so the files are written in Markdown.

With the way this extension now work I have to

  1. Convert Markdown to HTML
  2. Change content with editor
  3. Save Markdown out of this extension

It would be nice if the first step is not needed.

adriaanvanrossum commented Feb 5, 2016

This extension looks good, but it would be better to have support for Markdown as in input to the editor instead of the output. I'm using it as a Jekyll editor so the files are written in Markdown.

With the way this extension now work I have to

  1. Convert Markdown to HTML
  2. Change content with editor
  3. Save Markdown out of this extension

It would be nice if the first step is not needed.

@IonicaBizau

This comment has been minimized.

Show comment
Hide comment
@IonicaBizau

IonicaBizau Feb 5, 2016

Owner

@harianus Thanks for the suggestion! Indeed, that would be a nice feature. Contributions are welcome! ❇️

Owner

IonicaBizau commented Feb 5, 2016

@harianus Thanks for the suggestion! Indeed, that would be a nice feature. Contributions are welcome! ❇️

@apobbati

This comment has been minimized.

Show comment
Hide comment
@apobbati

apobbati Aug 11, 2016

What did you end up doing as a workaround? Any ideas?

apobbati commented Aug 11, 2016

What did you end up doing as a workaround? Any ideas?

@edelgado

This comment has been minimized.

Show comment
Hide comment
@edelgado

edelgado Aug 11, 2016

I'm just realizing that the editor outputs Markdown, but it can't read it 😞 I want to persist the Markdown into a DB, and then read it again. I was assuming that the editor could read Markdown and allow you to make further edits.

edelgado commented Aug 11, 2016

I'm just realizing that the editor outputs Markdown, but it can't read it 😞 I want to persist the Markdown into a DB, and then read it again. I was assuming that the editor could read Markdown and allow you to make further edits.

@apobbati

This comment has been minimized.

Show comment
Hide comment
@apobbati

apobbati Aug 12, 2016

I'll take a crack at solving this. Seems like a useful feature to have.

apobbati commented Aug 12, 2016

I'll take a crack at solving this. Seems like a useful feature to have.

@apobbati

This comment has been minimized.

Show comment
Hide comment
@apobbati

apobbati Aug 12, 2016

I was using Marked to convert the markdown to HTML but the results aren't perfect. My use-case is for having bi-directional editors (Rich Text vs. Markdown) and being able to switch seamlessly between "source" (Ace editor) and "rich text" (medium editor).

apobbati commented Aug 12, 2016

I was using Marked to convert the markdown to HTML but the results aren't perfect. My use-case is for having bi-directional editors (Rich Text vs. Markdown) and being able to switch seamlessly between "source" (Ace editor) and "rich text" (medium editor).

@IonicaBizau

This comment has been minimized.

Show comment
Hide comment
@IonicaBizau

IonicaBizau Aug 12, 2016

Owner

That would be cool!

Sent from my iPhone

On 12 Aug 2016, at 16:52, Abhinav Pobbati notifications@github.com wrote:

I was using Marked to convert the HTML to markdown but the results aren't perfect. My use-case is for having bi-directional editors (Rich Text vs. Markdown) and being able to switch seamlessly between "source" (Ace editor) and "rich text" (medium editor).


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Owner

IonicaBizau commented Aug 12, 2016

That would be cool!

Sent from my iPhone

On 12 Aug 2016, at 16:52, Abhinav Pobbati notifications@github.com wrote:

I was using Marked to convert the HTML to markdown but the results aren't perfect. My use-case is for having bi-directional editors (Rich Text vs. Markdown) and being able to switch seamlessly between "source" (Ace editor) and "rich text" (medium editor).


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@nickspiel

This comment has been minimized.

Show comment
Hide comment
@nickspiel

nickspiel Sep 12, 2016

Also looking for this. Anyone got a work-around?

nickspiel commented Sep 12, 2016

Also looking for this. Anyone got a work-around?

@tunnckoCore

This comment has been minimized.

Show comment
Hide comment
@tunnckoCore

tunnckoCore Oct 14, 2016

Yea it would be cool, but I don't think it is his job. My usage is sending the markdown to the server, pass it to megamark to do some more customizations easily and save both html (from megamark) and markdown to the disk. When wanna edit the article I just load it on div where editor reads.

If i'm not using the megamark i can easily get value (which is html) of the div where editor is. Just inspect the leftside panel on the demo to got what i'm talking - it is realtime converting to html.

tunnckoCore commented Oct 14, 2016

Yea it would be cool, but I don't think it is his job. My usage is sending the markdown to the server, pass it to megamark to do some more customizations easily and save both html (from megamark) and markdown to the disk. When wanna edit the article I just load it on div where editor reads.

If i'm not using the megamark i can easily get value (which is html) of the div where editor is. Just inspect the leftside panel on the demo to got what i'm talking - it is realtime converting to html.

@jackmcdade

This comment has been minimized.

Show comment
Hide comment
@jackmcdade

jackmcdade Jun 12, 2018

Is there anyone I could pay to add this feature?

jackmcdade commented Jun 12, 2018

Is there anyone I could pay to add this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment