You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey that file snippets.html is super useful and now I'm wondering if we could add the actual extension to each one of the sample files. The reason is to be able to see the colors on the local editor so we can compare the generated colors.
So we could use the github_light theme here to generate the snippets
Hey that file
snippets.html
is super useful and now I'm wondering if we could add the actual extension to each one of the sample files. The reason is to be able to see the colors on the local editor so we can compare the generated colors.So we could use the github_light theme here to generate the snippets
inkjet/tests/snippets.rs
Line 15 in c8f1968
And also rename the sample files, for eg rename
Elixir
toElixir.ex
That would make it easier to validate the snippets by comparing against the preview on github.com, for eg we would be able to inspect https://github.com/Colonial-Dev/inkjet/blob/master/tests/samples/Elixir with colors or inspect the
snippets.html
file locally as well.Wdyt?
Update
The sample file would look like https://github.com/leandrocp/inkjet/blob/lp-inspect-samples/tests/samples/Elixir.ex and the snippet as the screenshot below:
The text was updated successfully, but these errors were encountered: