OpMark

Latest version Documentation MIT

OpMark is an experimental markup language focused on presentation making. It's still in pre-alpha stage.

Features

Example

A simple OpMark document

```text

This is Page 1

This is a simple example of OpMark.


This is Page 2

Rich Text

You can markup text using the following syntax: bold code /italics/ $small$ ~strikethrough~ underline

Lists

You can make lists:

  1. ordered list as well

Images

title of the image

Hyperlinks

Github ```

Using the parser

```rust use opmark::Parser; use std::{ fs::readtostring, path::Path, };

fn main() { let path = Path::new("./foo/bar.opmark"); let filecontent = readtostring(path).expect("Failed at reading file"); let parser = Parser::new(filecontent); for mark in parser { // do some stuff } } ```