Codes
Created on 25 Aug, 2018
Last Update on 25 Aug, 2018
17 views
Maintainer
admin
Inline CodeInline code (monospaced text) is created using the backtick (grave accents) (
Replies
- No replies yet
).#**input:**This sentence contains inline code:
javascript:alert("hello world");#**output:**This sentence contains inline code:
javascript:alert("hello world");`# Block codeDisplaying block code, without formatting and in monospaced font, is as simple as starting the line with four spaces (shown using .).input:....line of code........line of code............line of code........line of code....line of codeoutput: line of code line of code line of code line of code line of code#Alternatively, there is also the following syntax:input:<?php$message = 'fenced code block';echo $message;``````phpecho 'language identifier';
<?php$message = 'fenced code block';echo $message;``````phpecho 'language identifier';
Comments