docsy icon indicating copy to clipboard operation
docsy copied to clipboard

Feature Request - Hook for content

Open j-maynard opened this issue 1 year ago • 2 comments

Would it be possible for there to an overridable hook between a contents heading/description and the actual content? We have in our Docsy based site a number of documents we label as controlled documents and it would be nice to have a hook we can use to make this work better.

This way we can define something in the front-matter and have it trigger a partial in the content.

j-maynard avatar Jan 15 '24 13:01 j-maynard

I think that this would be the solution for https://github.com/google/docsy/issues/1773 as well. I'll try to create a PR for that.

fekete-robert avatar Feb 15 '24 14:02 fekete-robert

Hi @j-maynard , can you check https://github.com/google/docsy/pull/1868 to see if that's something that would solve your issue?

fekete-robert avatar Feb 19 '24 09:02 fekete-robert