Since there is no development version of Observable standard library to import from, I decided to try to make the standard library available through notebooks. see my related question here
To start easy, I have tried to implement
html of stdlib inside a notebook. The method is almost copy and paste the source code. However, I realized that the source code used
constant which I didn’t. I am afraid I may miss something important when implement
html (in my notebook I called it
ohtml) in a notebook.
Could anyone help me understand why using
constant(html)? Thanks a lot!
You can see the detail question description, source links and code in the notebook below.