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

Markdown renderer #141

Closed
fesor opened this issue Jul 12, 2015 · 3 comments
Closed

Markdown renderer #141

fesor opened this issue Jul 12, 2015 · 3 comments
Assignees
Labels
enhancement New functionality or behavior
Milestone

Comments

@fesor
Copy link
Contributor

fesor commented Jul 12, 2015

Is it possible to dump AST of document back into markdown? As I can see implementing of MarkdownRenderer is not possible since renderers depends on HtmlRendererInterface and every renderer should implement it.

I working on api-blueprint parser and i wish to dump some parts of a markdown AST into standalone markdown strings.

@cebe
Copy link

cebe commented Jul 12, 2015

desite the name which includes the term Html it should be possible to turn the AST back into markdown with it, just do not create Html entities but the markdown string you need...

btw, @colinodell is there a reason why this interface includes Html in its name?

@colinodell
Copy link
Member

btw, @colinodell is there a reason why this interface includes Html in its name?

Nope, I'm just really bad at naming things. You're right, the interface should be more generic. I'll work on that sometime soon.

@colinodell colinodell self-assigned this Jul 15, 2015
@colinodell colinodell added this to the 0.10 milestone Jul 15, 2015
@colinodell colinodell added the enhancement New functionality or behavior label Jul 15, 2015
@cebe
Copy link

cebe commented Jul 19, 2015

👍

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

No branches or pull requests

3 participants