Sam Johnson
Sam Johnson
yeah looking into it
This would be cool, and yes there should be good crates for this, and as long as we use `diff` on the code blocks, it should syntax highlight _I think_
First portion of this is adding support for `#[docify::export]` on expr-position items via outer macro pattern of the enclosing `#[docify::export]` on the parent, then we can hit the other stuff...
Yes I have very much wanted to implement this for some time and this is one of my next targets. Thank you for putting it into an issue because I...
Side note on the dev dependency thing, that actually _will_ suddenly work if we opt for the new syntax suggested in #4. Main reason it doesn't/can't right now is it...
Yes but probably won't get to it for a bit unless my current company needs it or someone sponsors me to work on it. Prob 3-4 days of work.
this line essentially governs what items are supported: https://github.com/sam0x17/docify/blob/main/macros/src/lib.rs#L618 So if all of those traits are implemented for `ItemExternCrate` then it should be supported. If not, would be pretty easy...
what's weird is it looks like extern crate should be supported: https://github.com/sam0x17/docify/blob/main/macros/src/lib.rs#L173
actually I would try giving it an explicit name like `#[docify::export(some_name)]`, might be a naming collision
Yes I was actually thinking about this when I saw your previous issue. I'll see if I can work it in soon