V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
bb2018
V2EX  ›  Python

django 怎么集成一个 markdown 的那个工具栏? 要是用那个 simplemde 的 markdown 编辑器.有什么教程不?

  •  
  •   bb2018 · Sep 6, 2017 · 3178 views
    This topic created in 3155 days ago, the information mentioned may be changed or developed.
    django 怎么集成一个 markdown 的那个工具栏?
    要是用那个 simplemde 的 markdown 编辑器.有什么教程不?

    我看他说要安装
    $ bower install simplemde --save
    $ npm install simplemde --save

    这个怎么在 linux 与 windows 上安装?

    那位朋友给个教珵或说说怎么集成在 django 里面?

    谢谢了
    5 replies    2017-09-11 09:55:03 +08:00
    gaoshi
        1
    gaoshi  
       Sep 6, 2017
    markdown 编辑器其实跟 django 没有关系,完全是前端的插件。
    Hstar
        2
    Hstar  
       Sep 6, 2017
    你怎么集成 jQuery 就怎么集成这个
    l0o0
        3
    l0o0  
       Sep 7, 2017
    网站上说安装方法有 3 个,你忽略了第 3 种。
    vincentxbb
        4
    vincentxbb  
       Sep 9, 2017
    django-pagedown,貌似比较老了,不过自己调整一下模版,配合 django-markdown-deux 做渲染,基本就足够了
    fcfangcc
        5
    fcfangcc  
       Sep 11, 2017
    之前写过将就着可以用的轮子:[django 集成 editor.md]( https://github.com/fcfangcc/django-editor-md)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3906 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 10:28 · PVG 18:28 · LAX 03:28 · JFK 06:28
    ♥ Do have faith in what you're doing.