# Format Code in Markdown {%hackmd BJrTq20hE %} ###### tags: `markdown` \```<language name> <put codes here> \``` ## python :::info **source code** \```python= print("Hello world\n") \``` ::: ```python= print("Hello world\n") ``` ## C :::info **source code** \```clike= #include <stdio.h> int main(){ printf("Hello world\n"); return 0; } \``` ::: ```clike= #include <stdio.h> int main(){ printf("Hello world\n"); return 0; } ``` ## C++ :::info **source code** \```cpp= #include <iostream> int main(){ std::cout << "Hello world\n"; return 0; } \``` ::: ```cpp= #include <iostream> int main(){ std::cout << "Hello world\n"; return 0; } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up