Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ jobs:
# site in quartz/cli/fixtures/serve and fails if it binds anything other
# than loopback, or if a request path that escapes the output directory is
# answered instead of refused.
- name: Type check and format check
run: npm run check
- name: Run tests
run: npm test
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ node_modules
.quartz-cache
# Deliberately malformed markup that must reach the parser exactly as written.
quartz/util/fixtures
# Wiki content is reviewed prose, and docs is vendored Quartz documentation; neither is formatted source.
content
docs
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Rather than delegating identity to centralized gatekeepers (Google, employers,
governments), the OpenVTC ecosystem takes a **first-person** approach. Trust is
built from the ground up through real relationships between real people,
expressed as cryptographically verifiable credentials. The question becomes not
just *"who are you?"* but *"can I verify you're a real person through a chain
of real human relationships?"*
just _"who are you?"_ but _"can I verify you're a real person through a chain
of real human relationships?"_

## Audience

Expand Down
4 changes: 1 addition & 3 deletions quartz.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ const config: QuartzConfig = {
pageTitleSuffix: "",
enableSPA: true,
enablePopovers: true,
analytics: {
provider: "null",
},
analytics: null,
locale: "en-US",
baseUrl: "OpenVTC.github.io/wiki",
ignorePatterns: ["private", "templates", ".obsidian"],
Expand Down
5 changes: 2 additions & 3 deletions quartz/components/ArticleTitle.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
import { classNames } from "../util/lang"

const ArticleTitle: QuartzComponent = ({ fileData, displayClass }: QuartzComponentProps) => {
const ArticleTitle: QuartzComponent = ({ fileData }: QuartzComponentProps) => {
const title = fileData.frontmatter?.title
if (title) {
return <p></p> // <h1 class={classNames(displayClass, "article-title")}>{title}</h1>
return <p></p>
} else {
return null
}
Expand Down
2 changes: 1 addition & 1 deletion quartz/plugins/transformers/ofm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export const ObsidianFlavoredMarkdown: QuartzTransformerPlugin<Partial<Options>>
node.data = {
hProperties: {
...(node.data?.hProperties ?? {}),
className: classNames.join(" "),
className: classNames,
"data-callout": calloutType,
"data-callout-fold": collapse,
"data-callout-metadata": calloutMetaData,
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"module": "esnext",
"target": "esnext",
"moduleResolution": "node",
"ignoreDeprecations": "6.0",
"strict": true,
"incremental": true,
"resolveJsonModule": true,
Expand Down