Skip to content

add support for attribute {.scala} to verbatim text #11014

Open
@michelou

Description

@michelou

@abgruszecki Scala3doc currently supports the following Markdown syntax for code blocks :

```scala
val x = 1
```

Can you please validate that Scala3doc does also support the following two Markdown syntaxes (see discussion in PR #10953) ?

  1. Code block with attribute {.scala}, for instance :
```{.scala}
val x = 1
```
  1. Verbatim text with attribute {.scala}, for instance :
Given the dedinition `val x = 1`{.scala}

Goal: display the same Scala syntax hightlighting both in code blocks and in verbatim texts.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions