Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 467 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 467 Bytes

Markwhen parser

Parse markwhen documents. Outputs a list of events given plain text.

See markwhen.com, the documentation, and the changelog.

import { parse } from "@markwhen/parser";

const markwhen = parse(`
title: this is my title
timezone: America/New_York

#neat:
  color: blue
  timezone: -3

2022: event

group My Group #neat
2024: another event

`);

console.log(markwhen);