Skip to content

Switch code blocks to GFM style #1494

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

Merged
merged 1 commit into from
Aug 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _sips/sip-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ want to get involved.

Code heavy description of how the library functionality can be used.

{% highlight scala %}
```scala
// here is some example scala code, highlighted nicely
import scala.concurrent._

class Foo extends Bar {
val x = 10
def yo(name: String): String = s"hello $name"
}
{% endhighlight %}
```

### Comparison Examples

Expand Down
4 changes: 2 additions & 2 deletions _sips/sip-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ If you would like a starting point, clone the [SIP Template](./sip-template.html

See the [source](https://github.com/scala/docs.scala-lang/blob/master/_sips/sip-template.md) for this document (`sip-tutorial.md`) for how to do syntax highlighting.

{% highlight scala %}
```scala
class Foo
{% endhighlight %}
```


## Testing changes ##
Expand Down