Skip to content

Instantly share code, notes, and snippets.

View zrajm's full-sized avatar

zrajm zrajm

View GitHub Profile
@zrajm
zrajm / README.md
Last active March 15, 2022 15:32 — forked from VanTigranyan/README.md
Landmark - a minimalistic and extensible Markdown compiler in JavaScript

Landmark: The Simplest Markdown Engine for the Browser

Landmark is a small but extensible JavaScript library that allows to render Markdown documents into HTML. VanTigranyan's original gist is the engine used for Sitemark and some other projects.

Usage

Landmark features only 2 methods:

  • Landmark.render(text) - takes the Markdown source and returns ready HTML code (you'll only need this most of the time)
@zrajm
zrajm / lubuntu-rc.xml
Last active August 24, 2022 08:54
Openbox Keybindings for Window Tiling (using windows key + arrow keys).
<!--
Keybindings for Window Tiling
=============================
For the below code to work insert it into the <keyboard> section of your
openbox config. On Lubuntu it's called `~/.config/openbox/lubuntu-rc.xml`, and
on Arch `~/.config/openbox/rc.xml`. To reload the config after modifying it,
you can either logout and login again, or run the command
openbox -\-reconfigure