Added obsidian use cases#1179
Draft
KarolaKirsanow wants to merge 5 commits into
Draft
Conversation
|
@KarolaKirsanow is attempting to deploy a commit to the Discourse Graphs Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the navigation in the roam & obsidian docs pages & adds 5 use cases: project tracking, experiment tracking, literature synthesis, building a pkm base, and sharing your research
Additional changes:
/docs/guides/obsidian/image.pngto avoid multiple naming collisions with the rest of the doc imagesImage borders
1px solid #cbcbcb) applied to use-case docs only, not all docsisUseCasePageprop (mdxPath[0] === "use-cases") passed from[[...mdxPath]]/page.tsx→DocsPageTemplate, which wraps content in<div className="use-case-content">nextra-css.css:.use-case-content img { border: 1px solid #cbcbcb; }Image sizing
| widthin alt text:— sets width in px, stripped from rendered altmdx-components.tsxviaDocImagewrapping the theme'sBaseImg(not a plain<img>) to preserve Nextra's path resolutionNode tag component
<nodetag type="hyp" />MDX shortcode to render colored pill tags in docs matching app node type colorscolorUtils.tspalette;colorprop available for per-instance overridesnodetag) — MDX in.mdfiles only routes lowercase JSX elements through_componentsCallouts
blockquoteMDX component override inmdx-components.tsxthat renders Obsidian-style callouts> [!type] Title(static),> [!type]+ Title(foldable open),> [!type]- Title(foldable closed)<details>/<summary>— no JS requiredinfo,tip,note,warning,caution,check,done,question,fail,error,danger,abstract,summary