defmodule WebAssembly do @moduledoc """ Wrapper module for assembling html elements from blocks into iolist. Main entry point is `WebAssembly.DSL.builder/1`, which prepares environment for using HTML macros from `WebAssembly.HTML` module. These modules are automatically imported, so you just use: use WebAssembly builder do div class: "mydiv" do #... end end """ defmacro __using__(_opts) do quote do import WebAssembly.DSL use WebAssembly.HTML :ok end end end