diff --git a/docs/src/script.md b/docs/src/script.md index 8389d89..90b63f1 100644 --- a/docs/src/script.md +++ b/docs/src/script.md @@ -149,24 +149,6 @@ this function on datatypes which require further translation. This method is how we provide support for datatypes in `Base` without committing type piracy by implementing `show` for `"text/javascript"`. -### IO Context - -Any [IO context properties](https://docs.julialang.org/en/v1/base/io-network/#Base.IOContext-Tuple{IO,%20Pair}) of the renderer can be used, as expected: - - struct Hello end - - function Base.show(io::IO, ::MIME"text/javascript", ::Hello) - print(io, get(io, :hello, "oops")) - end - - h = @htl("""""") - - repr( - MIME"text/html"(), h; - context=(:hello => "world") - ) - #-> "" - ## Edge Cases Within a `