Sridhar Ratnakumar
ff7692e944
markdown: switch to yaml package
2021-05-16 16:34:08 -04:00
Sridhar Ratnakumar
e7bf0333da
Wikilink helper ( #27 )
2021-05-09 22:49:24 -04:00
Sridhar Ratnakumar
5f10887eaf
URI encoding for slugs ( #25 )
...
* Add encodeSlug, decodeSlug
* Decode URL into slug properly. Thus support whitespace in slugs
* refactor
2021-05-09 11:42:41 -04:00
Sridhar Ratnakumar
a5ba4ce6fb
Add tree helpers
2021-05-08 08:57:20 -04:00
Sridhar Ratnakumar
7363c3f059
Unicode normalize slugs
...
Ref: https://github.com/srid/neuron/issues/611
2021-05-06 17:58:52 -04:00
Sridhar Ratnakumar
1c2d30351d
Add markdown parsing helper ( #24 )
...
add helpers to parse markdown; `parseMarkdownWithFrontMatter` and `parseMarkdown`
2021-05-06 15:44:53 -04:00
Sridhar Ratnakumar
5386bf7ca9
Add mountFileSystemOnLVar
2021-05-01 12:07:58 -04:00
Sridhar Ratnakumar
c0bc0da02a
Add basic example
2021-04-27 12:59:19 -04:00
Sridhar Ratnakumar
29f0c4d33c
Move docs to separate repo
2021-04-26 17:42:00 -04:00
Sridhar Ratnakumar
8ec177db16
Fix cabal file for sdist
2021-04-26 14:28:05 -04:00
Sridhar Ratnakumar
e5d77e1e92
Prep for hackage release
2021-04-26 14:22:49 -04:00
Sridhar Ratnakumar
48c92c3204
Move Data.LVar to separate repo
2021-04-26 13:36:34 -04:00
Sridhar Ratnakumar
bb9c95a4b9
Add logging support ( #17 )
...
* Prototype logging using monad-logger-extras
* Use logging in Server.hs
* Add logging to generate
* Cleanup websocket logging
* Cleanups
2021-04-26 12:46:35 -04:00
Sridhar Ratnakumar
9d517b8755
Implement static assert serving/generating
...
Also make ema.svg a static file
2021-04-25 13:15:30 -04:00
Sridhar Ratnakumar
9ed970be7e
Add features, etc.wq
2021-04-24 13:10:31 -04:00
Sridhar Ratnakumar
e9cd43723d
Publish docs to GitHub Pages ( #15 )
2021-04-24 12:04:16 -04:00
Sridhar Ratnakumar
7c714ef771
Add documentation site example ( #14 )
...
Add documentatin site example
* Repurpose the third example for documentation
* No need for a separate route type
We can repurporse the source path as route.
* Add markdown parser via commonmark
* Read .md files recursively
* Add Ema.Helper.FileSystem (fsnotify code)
* Pandoc Blaze renderer (not complete)
* Rewrite links in Pandoc AST to use routes
* Start syling AST elements
* Basic breadcrumbs
* finalize
2021-04-23 22:00:46 -04:00
Sridhar Ratnakumar
b224be2bae
Allow disabling helpers (tailwind) via cabal flag
2021-04-22 18:12:11 -04:00
Sridhar Ratnakumar
1956ca1020
Add missing directory dependency
2021-04-22 17:08:57 -04:00
Sridhar Ratnakumar
bc8289a6cb
Document the type-class and adjust a few things
2021-04-22 16:46:02 -04:00
Sridhar Ratnakumar
d83611a3e1
Introduce Ema type-class
...
Replacing IsRoute type class.
The new type-class is useful for a 3rd method, `modelRoutes` that returns all routes for the given model. IsRoute cannot do this, as it is not parametrized over model.
2021-04-22 16:39:06 -04:00
Sridhar Ratnakumar
2c6e5563fe
Add "generate" subcommand to generate static site
2021-04-22 15:57:31 -04:00
Sridhar Ratnakumar
82b3fc826a
Ema.Helper.TailWind - finalized
...
- clean up twind shims
- remove google fonts
2021-04-21 16:15:58 -04:00
Sridhar Ratnakumar
2d87a984fb
Expose some modules
2021-04-20 18:14:13 -04:00
Sridhar Ratnakumar
8bd0b0838d
Changing -> Data.LVar
2021-04-20 17:09:37 -04:00
Sridhar Ratnakumar
3cb3154706
Add Diary example using org-mode and fsnotify ( #2 )
...
* Dairy example, prototype. Without fsnotify.
* Add basic org renderer
* Rough version of fswatcher
* Refactor, and add example org notebook
2021-04-20 15:04:48 -04:00
Sridhar Ratnakumar
ca47adc643
Add a flag to disable inclusion of examples
2021-04-20 12:36:53 -04:00
Sridhar Ratnakumar
c8ef3753b7
Rename examples
2021-04-19 20:49:46 -04:00
Sridhar Ratnakumar
acccb74bb4
Support multiple websocket clients for hot reload
2021-04-19 20:05:18 -04:00
Sridhar Ratnakumar
69c292f0f3
refactor
2021-04-19 18:23:46 -04:00
Sridhar Ratnakumar
27283651b7
Refactor examples
2021-04-19 15:41:24 -04:00
Sridhar Ratnakumar
5c84eb10a6
refactor Ema.Route
2021-04-19 15:34:10 -04:00
Sridhar Ratnakumar
7463e87a9c
Have the browser refresh on ghcid restart
2021-04-19 15:23:06 -04:00
Sridhar Ratnakumar
750717cb09
remove unused deps
2021-04-19 11:36:51 -04:00
Sridhar Ratnakumar
f7f437759a
initial commit of WIP code
2021-04-19 11:07:52 -04:00