View Source Philtre.Block.Code (philtre v0.12.1)

Elixir-side implementation of the code-type block

This block is used to write code in a synthax-highlighted UI. The frontend aspect of it is implemented in hooks/Code.ts

Link to this section Summary

Link to this section Types

@type t() :: %Philtre.Block.Code{
  content: term(),
  focused: term(),
  id: term(),
  language: term()
}

Link to this section Functions

Link to this function

handle_event(binary, params, socket)

View Source