Skip to content

feat: protein distance geometry essay + fix project card#22

Open
viniciusdc wants to merge 8 commits into
mainfrom
feat/post-protein-refinement
Open

feat: protein distance geometry essay + fix project card#22
viniciusdc wants to merge 8 commits into
mainfrom
feat/post-protein-refinement

Conversation

@viniciusdc

Copy link
Copy Markdown
Owner

No description provided.

- Install remark-math + rehype-katex for build-time math rendering (no client JS)
- Wire plugins into MDX integration in astro.config.mjs
- Import katex.min.css with dark-theme color overrides in global.css
- Convert protein essay code-block math to proper LaTeX notation
Pins nodejs >=22.12.0 via conda-forge so make dev/build/preview/check
always use the correct Node regardless of system PATH.
Clicking any figure image opens a full-screen modal with the caption.
Closes on backdrop click, close button, or Escape. No dependencies.
Covers lightbox/Lightbox (article image component), eigencomponents
(linear-algebra term), and the LaTeX commands used in the protein
essay: mathbb, mathbf, mathcal, bigl, bigr.
@viniciusdc viniciusdc force-pushed the feat/post-protein-refinement branch from 0b4d9d2 to 9f118c6 Compare May 11, 2026 12:46
viniciusdc added a commit that referenced this pull request May 19, 2026
Schema/config support that #22 (protein essay) and #18 (k8s benchmark
note) both depend on. Extracted to a single PR so the content PRs can
be reduced to just their prose.

KaTeX:
- Wire remark-math + rehype-katex into MDX in astro.config.mjs so
  math renders at build time (no client JS).
- Add katex / rehype-katex / remark-math as deps.
- Import katex.min.css in global.css with a small dark-theme override
  block so equations sit in the warm palette instead of black/white.

ImageLightbox:
- Extract the inline lightbox HTML/CSS/JS into
  src/components/ui/ImageLightbox.astro — a single component included
  once in ArticleLayout. Any .article-content figure image now gets
  click-to-zoom (close on backdrop / X button / Escape, no deps).

cspell.json:
- Add the names and terms used by both pending content PRs so they
  pass spell-check after they rebase down to pure content:
  - K8s benchmark note: journalctl, systemd
  - Math/LaTeX vocabulary: lightbox, eigencomponents, mathbb, mathbf,
    mathcal, bigl, bigr
  - Protein essay names: Schoenberg, Wüthrich, ChimeraX, PIBIC, RMSD,
    MDE, RCSB, PGDm, Gonçalves, Birgin, Martínez, Raydan, UCSF

After this lands, both #22 and #18 can rebase to drop their
schema/config commits and become pure prose+figure PRs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant