16 matching pages, found in 32 ms
Ask StyxWritten on your GPU machine; takes a few seconds the first time.
-
mdex.hexdocs.pmhttps://mdex.hexdocs.pm › gfmGitHub Flavored Markdown — MDEx v0.14.7
More about mdex.hexdocs.pm
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 …
-
mdex.hexdocs.pmhttps://mdex.hexdocs.pm › code_block_decorators-2Code Block Decorators — MDEx v0.14.7
More about mdex.hexdocs.pm
… 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
-
mdex.hexdocs.pmhttps://mdex.hexdocs.pm › lumisLumis syntax highlighting — MDEx v0.14.7
More about mdex.hexdocs.pm
… 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 …
-
mdex.hexdocs.pmhttps://mdex.hexdocs.pm › MDEx.AlertMDEx.Alert — MDEx v0.14.7
More about mdex.hexdocs.pm
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 …
-
mdex.hexdocs.pmhttps://mdex.hexdocs.pm › light_dark_themeLumis light/dark theme — MDEx v0.14.7
More about mdex.hexdocs.pm
… 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 …
-
mdex.hexdocs.pmhttps://mdex.hexdocs.pm › syntax_highlightSyntax highlighting — MDEx v0.14.7
More about mdex.hexdocs.pm
… 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 …
-
mdex.hexdocs.pmhttps://mdex.hexdocs.pm › earmark_to_mdexEarmark to MDEx Migration — MDEx v0.14.7
More about mdex.hexdocs.pm
… 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 …
-
mdex.hexdocs.pmhttps://mdex.hexdocs.pm › custom_themeLumis custom theme — MDEx v0.14.7
More about mdex.hexdocs.pm
… 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 …
-
mdex.hexdocs.pmhttps://mdex.hexdocs.pm › code_block_decorators-1Lumis code block decorators — MDEx v0.14.7
More about mdex.hexdocs.pm
… 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 …
-
mdex.hexdocs.pmhttps://mdex.hexdocs.pm › phoenix_live_view_heexPhoenix LiveView HEEx — MDEx v0.14.7
More about mdex.hexdocs.pm
… 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 …
Search for “github site:mdex.hexdocs.pm” on Google, or add !ddg, !w and other shortcuts to any search.