16 matching pages, found in 32 ms

Ask StyxWritten on your GPU machine; takes a few seconds the first time.

  1. mdex.hexdocs.pmhttps://mdex.hexdocs.pm › gfm
    More about mdex.hexdocs.pm
    GitHub Flavored Markdown — MDEx v0.14.7

    GitHub Flavored Markdown Copy Markdown View Source Mix . install ( [ { :mdex , "~> 0.8" } , { :mdex_gfm , "~> 0.1" } , { :lumis_wasm_elixir , "~> 0.26" } , { :kino , "~> 0.16" } , { :req , "~> 0.5" } ] , config : [ mdex_native : [ syntax_highlighter : :lumis ] ] ) Intro GitHub Flavored Markdown …

    0 points
  2. mdex.hexdocs.pmhttps://mdex.hexdocs.pm › code_block_decorators-2
    More about mdex.hexdocs.pm
    Code Block Decorators — MDEx v0.14.7

    … For example, elixir theme=github_dark is valid, but theme=github_dark elixir is not. Performance : Decorators are processed at render time, so using many decorators may impact performance ← Previous Page Safety

    0 points
  3. mdex.hexdocs.pmhttps://mdex.hexdocs.pm › lumis
    More about mdex.hexdocs.pm
    Lumis syntax highlighting — MDEx v0.14.7

    … formatter : { :html_inline , theme : "github_light" } ] ] The older Lumis API is still supported for existing code, but it is no longer recommended: syntax_highlight : [ formatter : { :html_inline , theme : "github_light" } ] For new …

    0 points
  4. mdex.hexdocs.pmhttps://mdex.hexdocs.pm › MDEx.Alert
    More about mdex.hexdocs.pm
    MDEx.Alert — MDEx v0.14.7

    MDEx. Alert (MDEx v0.14.7) Copy Markdown View Source GitHub and GitLab style alerts / admonitions. See GitHub and GitLab docs. Summary Types t() Types t() @type t() :: %MDEx.Alert{ alert_type: :note | :tip | :important …

    0 points
  5. mdex.hexdocs.pmhttps://mdex.hexdocs.pm › light_dark_theme
    More about mdex.hexdocs.pm
    Lumis light/dark theme — MDEx v0.14.7

    … multi_themes , themes : [ light : "github_light" , dark : "github_dark" ] , default_theme : "light-dark()" } ] ] ] """ # Light/Dark Example _Change your OS system setting to see the colors change from light to dark and vice …

    0 points
  6. mdex.hexdocs.pmhttps://mdex.hexdocs.pm › syntax_highlight
    More about mdex.hexdocs.pm
    Syntax highlighting — MDEx v0.14.7

    … formatter : { :html_inline , theme : "github_light" } ] ] ) Lumis also accepts budget: [time_limit: 1_000, match_limit: 4096] inside :opts to bound each code block. See Highlighting budgets for defaults and fallback behavior …

    0 points
  7. mdex.hexdocs.pmhttps://mdex.hexdocs.pm › earmark_to_mdex
    More about mdex.hexdocs.pm
    Earmark to MDEx Migration — MDEx v0.14.7

    … strong > < / p > :ok GFM - GitHub Flavored Markdown Earmark Earmark . as_html! ( markdown , gfm : true ) |> IO . puts ( ) < h1 > Hello < / h1 > < p > This is < strong > bold < / strong > ! < / p > < ul > < li > [ x ] Ship it < / li …

    0 points
  8. mdex.hexdocs.pmhttps://mdex.hexdocs.pm › custom_theme
    More about mdex.hexdocs.pm
    Lumis custom theme — MDEx v0.14.7

    … doesn't. theme = Lumis.Theme . get ( "github_light" ) function_call_style = % Lumis.Theme.Style { fg : "#d1242f" , bg : "#e4b7be" , bold : true } new_theme = put_in ( theme , [ Access . key! ( :highlights ) , Access . key! ( "function.call" ) ] , function_call_style ) % Lumis.Theme { name …

    0 points
  9. mdex.hexdocs.pmhttps://mdex.hexdocs.pm › code_block_decorators-1
    More about mdex.hexdocs.pm
    Lumis code block decorators — MDEx v0.14.7

    … 5,8-10 theme=github_light defmodule Lines do @langs ["elixir", "rust"] def langs do @langs end def libs do [:comrak, :ammonia, :lumis] end end ``` """HTML |> Kino.HTML . new ( ) Decorator: theme import MDEx.Sigil …

    0 points
  10. mdex.hexdocs.pmhttps://mdex.hexdocs.pm › phoenix_live_view_heex
    More about mdex.hexdocs.pm
    Phoenix LiveView HEEx — MDEx v0.14.7

    … formatter : { :html_inline , theme : "github_light" } ] ] def mount ( _params , _session , socket ) do { :ok , assign ( socket , message : "Have a nice day" , count : 0 ) } end def render ( assigns ) do ~H""" <script src="https://cdn.tailwindcss.com …

    0 points

Search for “github site:mdex.hexdocs.pm” on Google, or add !ddg, !w and other shortcuts to any search.