markdown code block python
```javascript
var s = "JavaScript syntax highlighting";
alert(s);
```
```
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
```
markdown code block python
```javascript
var s = "JavaScript syntax highlighting";
alert(s);
```
```
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
```
python package markdown2 how to use
def save(self, commit=True):
author = self.cleaned_data['author']
title = self.cleaned_data['title']
content = self.cleaned_data['content']
markdown = Markdown()
html = markdown.convert(content)
post = Post(author=author, title=title, content=content, html=html)
post.save()
tags_text = self.cleaned_data['tags']
tag_names = split_tags(tags_text)
for tag_name in tag_names:
tag_name.strip()
if 0 < len(tag_name) < 16:
tag = self.create_and_get(tag_name)
post.tags.add(tag)
return self.instance
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us