SassDoc / sassdoc

Release the docs!
http://sassdoc.com
MIT License
1.41k stars 56 forks source link

Use sassdoc-extras on data from sassdoc.parse #476

Closed dptoot closed 7 years ago

dptoot commented 7 years ago

Is it possible to use the sassdoc-extras utilities on the data returned from sassdoc.parse(). I don't need a theme as the data generated is being integrated into a project in various capacities. I would like however to utilize some extras like markdown and resolveVariables to flesh out the data before I write it to JSON.

Any such luck?

dptoot commented 7 years ago

It does seem I can hack around the ones that I need by inserting the data object returned into a ctx object and passing that to the extras utilities. Does the trick for some. A little hacky I suppose but who will ever know...

Thanks for the library!