How pranjalrai-iitd/news works
Quartz turns an Obsidian-style Markdown vault into a navigable static website: the configured build parses and transforms notes, filters publication candidates, then runs emitters to produce pages and site assets. The site adds folder/tag listings, search, graph navigation, localization, themes, and optional analytics. The README also documents a raw-HTML hosting option. The graph follows relationships documented in the README and SOURCE INDEX; several emitter and UI internals were not sampled, so uncertain calls are omitted.
Main entry points: index.ts Plugin registry · build.ts Quartz build · componentResources.ts Static resources · quartz.config.ts Site configuration
Components 21
Build orchestration
- Quartz build
source/quartz/build.ts - Site configuration
source/quartz.config.ts - Plugin registry
source/quartz/plugins/index.ts
Content processing
- Markdown parser
source/quartz/processors/parse.ts - Markdown transforms
source/quartz/plugins/transformers - Publication filters
source/quartz/processors/filter.ts
Site generation
- Emitter processor
source/quartz/processors/emit.ts - Content page emitters
source/quartz/plugins/emitters/contentPage.tsx - Folder and tag pages
source/quartz/plugins/emitters - Search and feeds
source/quartz/plugins/emitters/contentIndex.ts - Static resources
source/quartz/plugins/emitters/componentResources.ts
Website experience
- Page renderer
source/quartz/components/renderPage.tsx - Page components
source/quartz/components - Search interface
source/quartz/components/Search.tsx - Link graph
source/quartz/components/Graph.tsx - Localization
source/quartz/i18n/index.ts
Other components
- Obsidian vault
- Generated website
- Raw HTML pages
source/raw_html - Site visitor
- Analytics services
Connections 24
- Obsidian vault → Quartz build: supplies notes
README.md - Site configuration → Quartz build: configures
source/quartz.config.ts - Quartz build → Markdown parser: parses files
source/quartz/build.ts - Markdown parser → Markdown transforms: applies transforms
source/quartz/processors/parse.ts - Quartz build → Publication filters: filters content
source/quartz/build.ts - Quartz build → Emitter processor: emits output
source/quartz/build.ts - Emitter processor → Plugin registry: uses plugins
source/quartz/processors/emit.ts - Site configuration → Plugin registry: selects plugins
source/quartz.config.ts - Plugin registry → Content page emitters: registers emitters
source/quartz/plugins/index.ts - Plugin registry → Folder and tag pages: registers emitters
source/quartz/plugins/index.ts - Plugin registry → Search and feeds: registers emitters
source/quartz/plugins/index.ts - Plugin registry → Static resources: registers emitter
source/quartz/plugins/index.ts - Content page emitters → Generated website: writes pages
- Folder and tag pages → Generated website: writes listings
- Search and feeds → Generated website: writes indexes
source/quartz/plugins/emitters/contentIndex.ts - Static resources → Generated website: writes assets
source/quartz/plugins/emitters/componentResources.ts - Page renderer → Page components: renders components
source/quartz/components/renderPage.tsx - Page components → Generated website: forms pages
- Search interface → Site visitor: supports searching
- Link graph → Site visitor: shows connections
- Localization → Page renderer: provides translations
source/quartz/components/renderPage.tsx - Site visitor → Generated website: views pages
README.md - Raw HTML pages → Generated website: hosts alongside
README.md - Static resources → Analytics services: loads analytics
source/quartz/plugins/emitters/componentResources.ts