kramdown / parser-gfm

kramdown-parser-gfm provides a kramdown parser for the GFM dialect of Markdown
Other
55 stars 14 forks source link

Unusual/non-standard require #12

Closed ioquatix closed 5 years ago

ioquatix commented 5 years ago

Normally when you have a gem with a name like kramdown-parser-gfm, you'd expect to write require 'kramdown/parser/gfm'. Is there some reason for going against this standard?

ashmaroli commented 5 years ago

@ioquatix Both should work equally fine. Does require 'kramdown/parser/gfm' not work for you?

ioquatix commented 5 years ago

After I looked at the code, I figured out it would work, which is good, and yes it does work.

I think that's what should be recommended in the README too. But, it's up to you.