Obsidian-Code-Styler icon indicating copy to clipboard operation
Obsidian-Code-Styler copied to clipboard

Bug: Does not show highligt syntax For Elixir in edit mode.

Open cocoaway opened this issue 6 months ago • 0 comments

Does not show colored syntax in edit mode for Elixir. For other languages it works correctly.

Describe the bug

Elixir no syntax highlighting

Steps to reproduce

Write code in code block and mark it as elixir code.

def myfun() do
# add some code here
{alfa: <<0,1,2,3,4>>}
end

Expected behaviour

Highlighted syntax.

Current behaviour

Environment

  • Plugin Version: V 1.1.7
  • Obsidian Version: Version 1.6.7 (Installer 1.4.16)
  • Platform: Desktop
  • OS: macOS Sonoma 15.5
  • Theme: Obsidian Default
  • CSS Snippets: No

Screenshots

Screenshot 2024-08-13 alle 10 10 40

Expected to see it as in reading mode:

Screenshot 2024-08-13 alle 10 24 25

Additional context

In editing mode if I try to change the language the syntax highlight works perfectly. For example if I write python instead of elixir: Screenshot 2024-08-13 alle 10 28 27

cocoaway avatar Aug 13 '24 08:08 cocoaway