Closed fwkoch closed 2 months ago
Latest commit: 7b86dd04b29a6b766d335a3a848ac2e43d1fe4fe
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
After chatting a bit with @rowanc1 - linkBlock
was intentionally removed in favor of better cards
. The remaining references to linkBlock
in the code are deprecated and should not be re-expanded!
The
link-block
directive used to exist, see this commit: https://github.com/jupyter-book/mystmd/commit/920c087ccf092bbf57c65833e139e34ee913e63d but somewhere in the monorepo refactor I believe it was lost.There is still lingering support for
linkBlock
nodes inmystmd
, e.g. https://github.com/jupyter-book/mystmd/blob/main/packages/myst-cli/src/process/mdast.ts#L83, and inmyst-theme
, https://github.com/jupyter-book/myst-theme/blob/main/packages/myst-to-react/src/links/index.tsx#L108This PR revives the
link-block
directive to createlinkBlock
nodes. Theurl
is required as directive arg, andtitle
option and description in the body are optional.