Skip to content

Instantly share code, notes, and snippets.

View mgmeyers's full-sized avatar

Matthew Meyers mgmeyers

View GitHub Profile

Weird Tables

First Header Second Header
Content Cell Content Cell
Content Cell Content Cell

| [[erererer|hello]] | Second Header | | ------------- | ------------- | | Content Cell | Content Cell |

@mgmeyers
mgmeyers / mgmeyers' Task+Date Format Proposal.md
Last active May 11, 2023 15:09
mgmeyers' Task+Date Format Proposal

mgmeyers’ Task+Date Format Proposal

See here for a description of what this proposal is all about.


Required settings

@mgmeyers
mgmeyers / Obsidian Plugin Task+Date Format.md
Last active May 11, 2023 15:09
Obsidian Plugin Task+Date Format

Obsidian Plugin Task+Date Format

The goal of this proposal is to enable compatibility between plugins that combine dates and tasks.

Currently, most plugins implement their own structured date format.

Kanban plugin: - [ ] task 1 @[[2021-11-01]] @@{8:35}
Tasks plugin: - [ ] task 1 📆2021-11-1
Reminders: - [ ] task 1 ([[2021-11-01]] 8:35)
@mgmeyers
mgmeyers / snippet.css
Created December 10, 2020 20:11
Obsidian Big Sur snippet
@font-face {
font-family: "Inter";
font-weight: 100 1000;
font-style: normal;
font-display: swap;
src: url("/Users/matt/Library/Fonts/Inter-VariableFont_slnt,wght.ttf")
format("ttf");
}
:root {
@mgmeyers
mgmeyers / atom.tsx
Last active July 7, 2020 16:33
context state wrapper
import React, { Dispatch, SetStateAction } from 'react'
type Provider = (props: React.PropsWithChildren<{}>) => JSX.Element
interface Atom<T> {
Provider: Provider
SetterContext: React.Context<Dispatch<SetStateAction<T>>>
ValueContext: React.Context<T>
}