Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hychen/flutter_js_orgmode

An Org Mode parser in Flutter apps.
https://github.com/hychen/flutter_js_orgmode

flutter orgmode

Last synced: about 1 month ago
JSON representation

An Org Mode parser in Flutter apps.

Awesome Lists containing this project

README

        

An Org Mode parser in Flutter apps.

This package supports most of org-mode syntax and aim to parse accuracy
through [uniorg](https://github.com/rasendubi/uniorg/) library from JavaScript ecosystem.

> This package is in very early stage and only be tested on MacOS. Use it with caution and file
any potential issues you see.

## Features

Use this package to
- Parse raw Org Mode documents as native Dart models.
- Serialize to json, or deserialize from json.

## Usage

```dart
import 'package:flutter_js_orgmode/flutter_js_orgmode.dart';

final orgdata = OrgParser().parse(
"""
#+title: Dart
* TODO [#A] Headline mei
- 測試 1234
- 2
* Just
""").then((orgdata) {
print(orgdata.children[1].children[0].todoKeyword); // TODO.
});
```