ohm-editor icon indicating copy to clipboard operation
ohm-editor copied to clipboard

Editor should support export and import

Open wenerme opened this issue 3 years ago • 0 comments

The grammar is easy to copy and paste, but the examples is also very important, consider allowed write examples in grammar or export import json

write examples in grammar like

/**
 * @example
 * ```
 * t: 1 + 1
 * f: 1 + a
 * ```
 */
Arithmetic {
}

https://github.com/harc/ohm/issues/396

wenerme avatar Aug 20 '22 11:08 wenerme