Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClojureScript support introduced #1

Merged
merged 1 commit into from
Nov 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ pom.xml.asc
/.lein-*
/.nrepl-port
.DS_Store
/out
/.cljs_node_repl
/node_modules
/resources
36 changes: 30 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,38 @@
# gorilla-renderable
# Pinkgorilla renderable

- this project is part of [PinkGorilla Notebook](https://github.com/pink-gorilla/gorilla-notebook)
- data structures from clojure/clojurescript have to be converted to some kind
of visual repesentation so that the notebook can render them
- for all clojure/clojurescript datatypes default renderers are defined here
- custom data-types can implement the renderable protocol
- the notebook receves the render-datastructure and renders it to the notebook cell.

```
(defprotocol Renderable
(render [self]))
```

Clojure/Clojurescript Data => (render) => Renderable DataStructure => (render) => Notebook

## History

- This project origianlly comes from https://github.com/JonyEpsilon/gorilla-renderable
- It is forked to support new features in pink-gorilla.

## Unit Tests

Clojure:
```
NOT IMPLEMENTED
```

The protocol that must be implemented to enable custom rendering in
[Gorilla REPL](http://gorilla-repl.org).
Clojurescript:
```
lein doo
```


## History

- This project origianlly comes from https://github.com/JonyEpsilon/gorilla-renderable
- It is forked to support new features in pink-gorilla.


## Licence
Expand Down