V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2017-09-06 19:34:47 +08:00 · 2658 次点击
    这是一个创建于 2416 天前的主题,其中的信息可能已经有所发展或是发生改变。
    django 怎么集成一个 markdown 的那个工具栏?
    要是用那个 simplemde 的 markdown 编辑器.有什么教程不?

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

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

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

    谢谢了
    5 条回复    2017-09-11 09:55:03 +08:00
    gaoshi
        1
    gaoshi  
       2017-09-06 20:25:54 +08:00
    markdown 编辑器其实跟 django 没有关系,完全是前端的插件。
    Hstar
        2
    Hstar  
       2017-09-06 20:34:16 +08:00
    你怎么集成 jQuery 就怎么集成这个
    l0o0
        3
    l0o0  
       2017-09-07 00:10:19 +08:00
    网站上说安装方法有 3 个,你忽略了第 3 种。
    vincentxbb
        4
    vincentxbb  
       2017-09-09 11:28:05 +08:00
    django-pagedown,貌似比较老了,不过自己调整一下模版,配合 django-markdown-deux 做渲染,基本就足够了
    fcfangcc
        5
    fcfangcc  
       2017-09-11 09:55:03 +08:00
    之前写过将就着可以用的轮子:[django 集成 editor.md]( https://github.com/fcfangcc/django-editor-md)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   945 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 21:38 · PVG 05:38 · LAX 14:38 · JFK 17:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.