Open BrooklinJazz opened 2 months ago
@carson-katri and I defined a custom modifier called markdownTheme for a wrapper around the swift-markdown-ui library.
markdownTheme
It doesn't seem to appear in the stylesheet when applied through the style attribute, but it does appear in a class.
style
This doesn't work:
<Markdown style="markdownTheme(.gitHub)" baseURL="https://google.com">
But this does:
~SHEET""" "my-style" do markdownTheme(.gitHub) end """ <Markdown style="markdownTheme(.gitHub)" class="my-style" baseURL="https://google.com">
The stylesheet output file is empty when using the style attribute. But contains the following when using class and a stylesheet:
class
%{"my-style" => [{:markdownTheme, [], [{:., [], [nil, :gitHub]}]}]}
@carson-katri and I defined a custom modifier called
markdownTheme
for a wrapper around the swift-markdown-ui library.It doesn't seem to appear in the stylesheet when applied through the
style
attribute, but it does appear in a class.This doesn't work:
But this does:
The stylesheet output file is empty when using the
style
attribute. But contains the following when usingclass
and a stylesheet: