WIP: chore(deps): update dependency mdex to ~> 0.13 #168

Draft
renovate wants to merge 2 commits from renovate/mdex-0.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
mdex (source) prod minor ~> 0.12~> 0.13

Release Notes

leandrocp/mdex (mdex)

v0.13.0

Compare Source

⚠ BREAKING CHANGES
  • optional lumis and disable syntax highlighting by default (#​362)
Syntax Highlighting Migration Guide

Syntax highlighting is no longer enabled by default. If you use Lumis, add it in deps and opt in before compiling dependencies:


# mix.exs
defp deps do
  [
    {:lumis, "~> 0.1"}
  ]
end

# config/config.exs
import Config
config :mdex_native, syntax_highlighter: :lumis

The old Lumis-only :syntax_highlight API still works but is no longer recommended:

MDEx.to_html!(markdown,
  syntax_highlight: [formatter: {:html_inline, theme: "github_light"}]
)

For new code, prefer engine: :lumis and move Lumis options under opts::

- MDEx.to_html!(markdown,
-   syntax_highlight: [formatter: {:html_inline, theme: "github_light"}]
- )
+ MDEx.to_html!(markdown,
+   syntax_highlight: [
+     engine: :lumis,
+     opts: [formatter: {:html_inline, theme: "github_light"}]
+   ]
+ )

For ~MD, pass the same options to use MDEx, and the old Lumis-only shape still works:

- use MDEx,
-   syntax_highlight: [formatter: {:html_inline, theme: "github_light"}]
+ use MDEx,
+   syntax_highlight: [
+     engine: :lumis,
+     opts: [formatter: {:html_inline, theme: "github_light"}]
+   ]

To keep syntax highlighting disabled, remove :syntax_highlight or set it to nil or false.

Documentation

v0.12.5

Compare Source

Features

v0.12.4

Compare Source

Features
Bug Fixes
  • disable syntax highlight with syntax_highlight: false (#​355) (c5d28bb)
Documentation

v0.12.3

Compare Source

Features
Bug Fixes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mdex](https://hex.pm/packages/mdex) ([source](https://github.com/leandrocp/mdex)) | prod | minor | `~> 0.12` → `~> 0.13` | --- ### Release Notes <details> <summary>leandrocp/mdex (mdex)</summary> ### [`v0.13.0`](https://github.com/leandrocp/mdex/blob/HEAD/CHANGELOG.md#0130-2026-06-09) [Compare Source](https://github.com/leandrocp/mdex/compare/v0.12.5...v0.13.0) ##### ⚠ BREAKING CHANGES - optional lumis and disable syntax highlighting by default ([#&#8203;362](https://github.com/leandrocp/mdex/issues/362)) ##### Syntax Highlighting Migration Guide Syntax highlighting is no longer enabled by default. If you use Lumis, add it in deps and opt in before compiling dependencies: ```elixir # mix.exs defp deps do [ {:lumis, "~> 0.1"} ] end # config/config.exs import Config config :mdex_native, syntax_highlighter: :lumis ``` The old Lumis-only `:syntax_highlight` API still works but is no longer recommended: ```elixir MDEx.to_html!(markdown, syntax_highlight: [formatter: {:html_inline, theme: "github_light"}] ) ``` For new code, prefer `engine: :lumis` and move Lumis options under `opts:`: ```diff - MDEx.to_html!(markdown, - syntax_highlight: [formatter: {:html_inline, theme: "github_light"}] - ) + MDEx.to_html!(markdown, + syntax_highlight: [ + engine: :lumis, + opts: [formatter: {:html_inline, theme: "github_light"}] + ] + ) ``` For `~MD`, pass the same options to `use MDEx`, and the old Lumis-only shape still works: ```diff - use MDEx, - syntax_highlight: [formatter: {:html_inline, theme: "github_light"}] + use MDEx, + syntax_highlight: [ + engine: :lumis, + opts: [formatter: {:html_inline, theme: "github_light"}] + ] ``` To keep syntax highlighting disabled, remove `:syntax_highlight` or set it to `nil` or `false`. ##### Documentation - fix examples ([94a879d](https://github.com/leandrocp/mdex/commit/94a879dc5e7843c4038e03c0c53e4debc924d6e2)) ### [`v0.12.5`](https://github.com/leandrocp/mdex/blob/HEAD/CHANGELOG.md#0125-2026-06-08) [Compare Source](https://github.com/leandrocp/mdex/compare/v0.12.4...v0.12.5) ##### Features - mdex\_native with syntect build ([#&#8203;359](https://github.com/leandrocp/mdex/issues/359)) ([42728ee](https://github.com/leandrocp/mdex/commit/42728eeb75459d7d9910f2105137650925331c1d)) ### [`v0.12.4`](https://github.com/leandrocp/mdex/blob/HEAD/CHANGELOG.md#0124-2026-06-06) [Compare Source](https://github.com/leandrocp/mdex/compare/v0.12.3...v0.12.4) ##### Features - add syntect engine on syntax highlighting ([#&#8203;358](https://github.com/leandrocp/mdex/issues/358)) ([7aa8a0a](https://github.com/leandrocp/mdex/commit/7aa8a0afcf44a7f16d59eea2838ec59a931762b7)) - support :engine in syntax highlighter ([#&#8203;357](https://github.com/leandrocp/mdex/issues/357)) ([9a18f3f](https://github.com/leandrocp/mdex/commit/9a18f3f54e5fb7d1f50e071429c41b445873de7a)) ##### Bug Fixes - disable syntax highlight with `syntax_highlight: false` ([#&#8203;355](https://github.com/leandrocp/mdex/issues/355)) ([c5d28bb](https://github.com/leandrocp/mdex/commit/c5d28bb1ca41394842d1858ed5bd834e3041b0f8)) ##### Documentation - improve syntax highlight example ([cf5f5a6](https://github.com/leandrocp/mdex/commit/cf5f5a6361cdb01458bccf8187d4f2ff0a7a8eeb)) - syntax highlight options in example ([#&#8203;356](https://github.com/leandrocp/mdex/issues/356)) ([16c555a](https://github.com/leandrocp/mdex/commit/16c555a25075b30f0289695f974cc9a03b4242e1)) ### [`v0.12.3`](https://github.com/leandrocp/mdex/blob/HEAD/CHANGELOG.md#0123-2026-06-05) [Compare Source](https://github.com/leandrocp/mdex/compare/v0.12.2...v0.12.3) ##### Features - extract mdex native into mdex\_native ([#&#8203;351](https://github.com/leandrocp/mdex/issues/351)) ([6ed94d9](https://github.com/leandrocp/mdex/commit/6ed94d905f97af188323f042698ae841c02293b4)) ##### Bug Fixes - \[Streaming] Preserve chunk boundaries without synthetic newlines across flushes ([#&#8203;348](https://github.com/leandrocp/mdex/issues/348)) by [@&#8203;martosaur](https://github.com/martosaur) - \[Streaming] Preserve incomplete HTML across flushes ([#&#8203;347](https://github.com/leandrocp/mdex/issues/347)) by [@&#8203;martosaur](https://github.com/martosaur) - \~MD outside modules ([#&#8203;352](https://github.com/leandrocp/mdex/issues/352)) ([a203937](https://github.com/leandrocp/mdex/commit/a203937d8e3ea687d4d0d58dfd360a7c7a2a4a2d)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate force-pushed renovate/mdex-0.x from a903db3570 to 3ce980cca2 2026-06-11 00:00:17 +02:00 Compare
renovate changed title from Update dependency mdex to ~> 0.13 to chore(deps): update dependency mdex to ~> 0.13 2026-06-11 09:00:17 +02:00
Author
Collaborator

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

### Edited/Blocked Notification Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠️ **Warning**: custom changes will be lost.
inhji changed title from chore(deps): update dependency mdex to ~> 0.13 to WIP: chore(deps): update dependency mdex to ~> 0.13 2026-06-16 09:26:35 +02:00
This pull request has changes conflicting with the target branch.
  • mix.exs
  • mix.lock
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/mdex-0.x:renovate/mdex-0.x
git switch renovate/mdex-0.x
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
inhji/hajur!168
No description provided.