Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能不能 帮忙 把 requirement 写一下。。。。 #1

Open
jingwangnet opened this issue Sep 17, 2016 · 5 comments
Open

能不能 帮忙 把 requirement 写一下。。。。 #1

jingwangnet opened this issue Sep 17, 2016 · 5 comments

Comments

@jingwangnet
Copy link

新人 不知道 依赖 那个 markdown 三方库

测试了好几个 都不行

@jingwangnet
Copy link
Author

(new) linaro@cubieboard4:~/code/new/blog/blog_django$ pip3 search markdown |grep django |grep template
django-misaka             - A Django template tag for rendering Markdown (by Misaka Markdown parser).
django-copyblock          - Manage website copy as a directory of markdown-formatted files. Insert files as copy into your Django templats.
django-markdown2          - This is a simple app, which supplies a single template tag for markdown markup.
django_markdownplus       - tiny django app for supporting markdown template tag
django-markdownify        - Markdown template filter for Django.
django-markdown-deux      - a Django app that provides template tags for using Markdown (using the python-markdown2 processor)

markdown 实在太多了。。。

@jingwangnet
Copy link
Author

markdown 3方库 解决了 django_markdownplus
新问题又来来 admin 里的编辑器 请问 如何支持 markdown 编辑

@Kevinsss
Copy link
Owner

你只需要按照markdown的语法写,然后显示时,加your response | markdown

@jingwangnet
Copy link
Author

article  db.sqlite3  manage.py  media  MyBlog  README.md  result.png  templates
(new) linaro@cubieboard4:~/code/new/blog/blog_django$ pwd
/home/linaro/code/new/blog/blog_django
(new) linaro@cubieboard4:~/code/new/blog/blog_django$ ls -l templates/
total 76
-rw-rw-r-- 1 linaro linaro   264 Sep 17 10:36 about.html
-rw-rw-r-- 1 linaro linaro  1263 Sep 17 10:36 archives.html
-rw-rw-r-- 1 linaro linaro   889 Sep 17 10:36 atom.xml
-rw-rw-r-- 1 linaro linaro  9460 Sep 17 10:36 base.html
-rw-rw-r-- 1 linaro linaro   738 Sep 17 10:36 duoshuo.html
-rw-rw-r-- 1 linaro linaro   322 Sep 17 10:36 footer.html
-rw-rw-r-- 1 linaro linaro  3025 Sep 17 10:36 header.html
-rw-rw-r-- 1 linaro linaro  3118 Sep 17 10:36 home.html
drwxrwxr-x 3 linaro linaro  4096 Sep 17 10:36 js
-rw-rw-r-- 1 linaro linaro 17645 Sep 17 10:36 junyu.html
-rw-rw-r-- 1 linaro linaro  1843 Sep 17 10:36 post.html
-rw-rw-r-- 1 linaro linaro  1951 Sep 17 10:36 tags.html
-rw-rw-r-- 1 linaro linaro   366 Sep 17 10:36 test.html
(new) linaro@cubieboard4:~/code/new/blog/blog_django$ 

请问 是在模板 里用 过滤吗! 请问下 是那个 页面的模板呢

@Kevinsss
Copy link
Owner

我这里是没有用markdown的,我用的是富文本编辑器!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants