Name of default monospace font

Can anyone please share the name of default monospace font? I tried a lot fonts manually but didn’t find match
thanks!

From the app.css file available from View > Toggle Developer Tools

--font-monospace-default: Menlo, SFMono-Regular, Consolas, "Roboto Mono", 'Source Code Pro', monospace;

This applies when only the default theme is being used. Your vault should be picking up the first font family it identifies as being installed locally.

body {
  --font-default: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei Light", sans-serif;
  --font-monospace-default: Menlo, SFMono-Regular, Consolas, "Roboto Mono", 'Source Code Pro', monospace;
  --font-interface-override: '??';
  --font-interface-theme: '??';
  --font-interface: var(--font-interface-override), var(--font-interface-theme), var(--default-font, '??'), var(--font-default);
  --font-text-override: '??';
  --font-text-theme: '??';
  --font-text: var(--font-text-override), var(--font-text-theme), var(--font-interface);
  --font-monospace-override: '??';
  --font-monospace-theme: '??';
  --font-monospace: var(--font-monospace-override), var(--font-monospace-theme), var(--font-monospace-default);
  --font-text-size: 16px;
  --font-mermaid: var(--font-text);
}
3 Likes

thanks a lot! that’s exactly I was looking for

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.