Any people knowledgable with React & Docusauru...
# development
f
Any people knowledgable with React & Docusaurus? I'm getting the error
Hook is called outside the <DocsPreferredVersionContextProvider>
when I try to use the
Link
React component in a blog page in the pantsbuild.org repository. I assume that it is because some component is using some state which is not setup for the blog pages?
w
code snippet?
or file?
f
Untitled
w
So, 3 questions/comments: 1. Using a
Link
so you get formatting, correct? Rather than just vanilla markdown? 2. Is how we render docs vs blogs different? I know docusaurus has (in the past) made that distinction, but I think it was a technical limitation, not a conceptual one 3. Are we using any special plugins to render the blog portion?
f
I want a "call to action" button that is a nice big clickable button.
We use
Link
elsewhere in the docs for that effect it seems.
And plain old
<button>
doesn't have that look.