Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/therustmonk/elm-ace
Ace Editor component for Elm
https://github.com/therustmonk/elm-ace
ace elm elm-ui
Last synced: 1 day ago
JSON representation
Ace Editor component for Elm
- Host: GitHub
- URL: https://github.com/therustmonk/elm-ace
- Owner: therustmonk
- License: bsd-3-clause
- Created: 2016-08-13T13:33:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-22T12:59:33.000Z (almost 7 years ago)
- Last Synced: 2025-01-02T21:12:27.955Z (6 days ago)
- Topics: ace, elm, elm-ui
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 29
- Watchers: 4
- Forks: 8
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ace in Elm
This package is for Ace component rendering. It is based on the [ace][] project.
[ace]: https://github.com/ajaxorg/ace
## Basic Usage
```elm
content : Html msg
content =
Ace.toHtml
[ Ace.theme "monokai"
, Ace.mode "lua"
, Ace.value ""
] []
```Important: This library don't load any `ace` library and you should add it youself in the `index.html`.