--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/a93b4c72-d749-479e-8fd0-48560f306615%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
My concern is that it is best if the documentation does not have the ```elixir tags, since from context, it is expected that most code is written in Elixir. The notation just adds noise. One should prefer to indent by 4 spaces.On the other hand, formatting of the code indented by four spaces requires partial implementation of a markdown processor and that sounds a bit outside of the scope of the formatter.
On Mon, Jan 22, 2018 at 8:17 PM, Yordis Prieto <yordis...@gmail.com> wrote:
It would be nice if `mix format` could take into consideration the comments as well.
Would parse for
```elixir
```and then extract the code and format it
What do you think about it
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
My concern is that it is best if the documentation does not have the ```elixir tags, since from context, it is expected that most code is written in Elixir. The notation just adds noise. One should prefer to indent by 4 spaces.
On the other hand, formatting of the code indented by four spaces requires partial implementation of a markdown processor and that sounds a bit outside of the scope of the formatter.
On Mon, Jan 22, 2018 at 8:17 PM, Yordis Prieto <yordis...@gmail.com> wrote:
It would be nice if `mix format` could take into consideration the comments as well.
Would parse for
```elixir
```and then extract the code and format it
What do you think about it
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/a93b4c72-d749-479e-8fd0-48560f306615%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4LuSihA%3DNT43q5PVC2FBU7dH73tkDFNYPNsRbAGgEGYpA%40mail.gmail.com.
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-core/Y86jj5X3zhc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CA%2BbCVsuyFwi5tOK9W3m7Ntxo_YbArrT2YTNm-EpWwCVYUdY8-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
In my opinion, codeblocks by indentation should be removed from the MD spec at all, they are not unambigous.Sometimes I want to have distinct code blocks next to each other because they show different ways of implementing the same:def foo, do: 1def foo do1endWith indention based code blocks one can't tell if those blocks are meant to belong together or not, but with codefences this is easy:```exdef foo, do: 1``````exdef foo do1end```
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/ed43e151-c2ef-47e6-92fe-962e1ea9c2ee%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/9291e902-dc09-4c93-8eb0-a70716ab22b2%40googlegroups.com.