Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2682651
D25547.1734666856.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
715 B
Referenced Files
None
Subscribers
None
D25547.1734666856.diff
View Options
diff --git a/src/docs/user/userguide/remarkup.diviner b/src/docs/user/userguide/remarkup.diviner
--- a/src/docs/user/userguide/remarkup.diviner
+++ b/src/docs/user/userguide/remarkup.diviner
@@ -196,6 +196,9 @@
- [X] Preheat oven to 450 degrees.
- [ ] Zest 35 lemons.
+Code Blocks
+===========
+
Make **code blocks** by indenting two spaces:
f(x, y);
@@ -211,6 +214,9 @@
lang=html
<a href="#">...</a>
+When using fenced code blocks (triple backticks) you can simply append the
+language right after the backticks, like this: ##```html##
+
This will highlight the block using a highlighter for that language, if one is
available (in most cases, this means you need to configure Pygments):
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 03:54 (20 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016476
Default Alt Text
D25547.1734666856.diff (715 B)
Attached To
Mode
D25547: Diviner: Improve documentation for remarkup code blocks
Attached
Detach File
Event Timeline
Log In to Comment