Coder Social home page Coder Social logo

blog's Introduction

我的博客练习

通过marked的方式实现博客

准备工作: 1.githup上下载marked.js、typo.css 2. 一级标题 # 一级标题 二级标题 ## 二级标题

引言 >      我家门前有两俩自行车,一个是ofo,另一个,还是ofo —— 鲁迅
  图片        ```![](图片地址)```
  显示代码    code两边分别三个反顿号
  小圆点      -
  粗体字      **fuck**
  斜体字      *fuck*
  删除线      ~~fuck~~
  链接       [链接名称](链接地址) 
  水平线     ***
  表格      
          表头  | 表头
  ------------- | -------------
     单元格内容 | 单元格内容
   单元格内容l  | 单元格内容

名字 性别
xfz male
czy unkonw
  1. var markdown = `markdown内容`;
    document.getElementById('content').innerHTML = marked(markdown);```
    
  2. 上传githup,设置githup -> setting -> Source为master branch -> save
  3. 实现动态编写博客,安装nodejs, <hello world>

blog's People

Contributors

xfz1987 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.