Flask轻博客系统实战开发(10) 一 集成Editor.md支持markdown在线编辑

首先支持在线编辑markdown编辑,作为技术人通常使用markdown写文档还是比较顺手的,因为格式统一,不需要花很多的时间在排版上,我选用了国内editor.md作为本博客的编辑器,下面就对editor.md的集成做下简单介绍

文章编辑界面

{% extends 'admin/common/base.html' %}
{% block css %}
{
  
   
   { super() }}
<link rel="stylesheet" href="{
    
     
     {url_for('.static',filename='editor

猜你喜欢

转载自blog.csdn.net/huangbangqing12/article/details/121392197