Difference between revisions of "Scratchpad"

From Family History Book
Line 7: Line 7:
 
==Discord Tips==
 
==Discord Tips==
  
* To include some code in your post, surround the code in single backticks (`) for inline code, or triple backticks for a block of code.  You can add an optional language marker to get syntax highlighting for that language. Common markers are py, c, and sh.
+
* To include some code in your post, surround the code in single backticks (`) for inline code, or triple backticks for a block of code.
 +
* You can add an optional language marker to get syntax highlighting for that language. Common markers are py, c, and sh.
 +
<pre>
 +
`​`​`py
 +
# Check for equals.
 +
if a == b:
 +
    print("Match")
 +
`​`​`
 +
 
 +
becomes:
 +
# Check for equals.
 +
if a == b:
 +
    print("Match")
 +
</pre>
  
 
  [[Private|Back to Private]]
 
  [[Private|Back to Private]]
  
 
<!-- Write below this point -->
 
<!-- Write below this point -->

Revision as of 11:03, 10 May 2023

Wio Terminal Links=

Discord Tips

  • To include some code in your post, surround the code in single backticks (`) for inline code, or triple backticks for a block of code.
  • You can add an optional language marker to get syntax highlighting for that language. Common markers are py, c, and sh.
`​`​`py
# Check for equals.
if a == b:
    print("Match")
`​`​`

becomes:
# Check for equals.
if a == b:
    print("Match")
Back to Private