Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Make element struct members public? #11

Open
xiaq opened this issue Apr 3, 2014 · 3 comments · May be fixed by #13
Open

Make element struct members public? #11

xiaq opened this issue Apr 3, 2014 · 3 comments · May be fixed by #13

Comments

@xiaq
Copy link

xiaq commented Apr 3, 2014

I am trying to write a custom markdown formatter. This package exposes the Formatter interface:

type Formatter interface {
    FormatBlock(*element)
    Finish()
}

However, the element struct is not exposed. What about exposing it and related structs (i.e. capitalizing their names as well as their member names) so that it is possible to define Formatter implementations outside this package?

@elazarl
Copy link

elazarl commented Jul 22, 2014

Is there any progress about this issue?

Currently, this isn't really a parser, as you can't get the actual formatted blocks...

@jabley jabley linked a pull request Sep 26, 2014 that will close this issue
@jabley
Copy link

jabley commented Sep 27, 2014

An example of another Formatter which currently uses my fork to validate internal links in a largish static site.

@bobbytables
Copy link

@knieriem - Is there a possibility we can do this? I'm also interested in using this project for a custom formatter.

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

Successfully merging a pull request may close this issue.

4 participants