flutter_js_orgmode 0.2.0
flutter_js_orgmode: ^0.2.0 copied to clipboard
An Org Mode parser in Flutter apps which aims to parse accuracy via uniorg from JavaScript ecosystem.
An Org Mode parser in Flutter apps.
This package supports most of org-mode syntax and aim to parse accuracy through 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 #
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.
});