Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/hychen/flutter_js_orgmode
- Owner: hychen
- License: other
- Created: 2021-10-29T12:29:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-27T08:45:35.000Z (over 2 years ago)
- Last Synced: 2024-11-08T08:48:42.357Z (3 months ago)
- Topics: flutter, orgmode
- Language: Dart
- Homepage:
- Size: 143 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.
});
```