rimu 11.4.1 copy "rimu: ^11.4.1" to clipboard
rimu: ^11.4.1 copied to clipboard

Rimu is a readable-text to HTML markup language inspired by AsciiDoc and Markdown.

A port of the Rimu Markup language written in the Dart language.

Features #

Functionally identical to the TypeScript implementation version 11.4.x.

Using the Rimu package #

The Rimu Dart package is hosted at pub.dev. Example usage:

import 'package:rimu/rimu.dart';

main(List<String> arguments) {
  print(render('Hello *Rimu*!'));
}
copied to clipboard

See also Rimu API documentation.

CLI command #

The Dart port of the Rimu CLI command can be run as a script, for example:

dart ./bin/rimuc.dart --version
copied to clipboard

Or compiled to a native executable, for example:

dart compile exe ./bin/rimuc.dart -o ~/local/bin/rimudart
copied to clipboard

Building #

  1. Clone source repo from Github:

     git clone git@github.com:srackham/rimu-dart.git
    
    copied to clipboard
  2. Build and test:

     cd rimu-dart/
     dart pub get
     make
    
    copied to clipboard

Learn more #

Read the documentation and experiment with Rimu in the Rimu Playground.

Implementation #

  • The largely one-to-one correspondence between the canonical TypeScript code and the Dart code eased porting and debugging. This will also make it easier to cross-port new features and bug-fixes.

  • All Rimu implementations share the same JSON driven test suites comprising over 300 compatibility checks.

0
likes
135
points
46
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.22 - 2025.04.06

Rimu is a readable-text to HTML markup language inspired by AsciiDoc and Markdown.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

collection, path

More

Packages that depend on rimu