Skip to content

swizzard/samup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

samup

samup is a a wee markup language in the form of code that transforms text written in that language into html

please see the grammar for a hopefully-helpful formal representation or the integration tests for examples

name

it's called samup because i'm sam not mark and it's up not down and lbr the __ml kicky name tar sands are just about fracked out

features/roadmap

  • <i> and <strong>
  • links (but see below)
  • footnotes (but see below)
  • <h1>-<h6>
  • escaping
    • code blocks?
  • lists
  • cli/io

differences from markdown

  • anything besides #+ and \[\^\d+\]: gets wrapped in <p>...</p>
    • #+ becomes <h_>
    • \[\^\d+\]: becomes a footnote reference (see more below)
  • link syntax
    • [url] becomes <a href="url" target="_blank">url</a>
    • [url](label) becomes <a href="url" target="_blank">label</a>
  • footnotes
    • foot note references are rendered in-place, and not automatically moved to the end of the output

About

markup, for me

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages