Skip to content

Commit

Permalink
fixed Content example
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Jul 13, 2023
1 parent e2ea362 commit ba0ab16
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/org/rascalmpl/library/Content.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ on the terminal ((RascalShell)).}
Values wrapped in a `Content` wrapper will be displayed by interactive
Rascal applications such as the IDE, the REPL terminal and the documentation pages.

```rascal-prepare
import Content;
```

For example, a piece of html can be displayed directly like such:
```rascal-shell
```rascal-shell,continue
html("\<a href=\"http://www.rascal-mpl.org\"\>Rascal homepage\</a\>")
```

Expand Down

0 comments on commit ba0ab16

Please sign in to comment.