-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generates invalid code when parsing backtics-separated code #93
Comments
Sorry that this isn't working for you as you'd expected. Does it also not work with newlines in between? Do the three backticks format nicely on package.elm-lang.org ? |
It formats normally with The problem seems to be that the unindented line within backtics-section is not detected by This doesn't work with
This does work with
|
I meant newlines here.
|
That syntax is not accepted by If there is only single newline then So this example with two empty lines:
is changed by
And this example with single empty line:
is changed by
|
Got it. Thanks for clarifying. Don't know when I'll get to this, but I definitelly think that we should start to support ```. |
When I run
elm-verify-examples
with following example:it generates following invalid code which doesn't even compile:
If I indent same example with 4 spaces instead of using backticks it works, but since here I have example directly after a list, 4 spaces indentation can't be used as
elm-format
will mangle that.The text was updated successfully, but these errors were encountered: