GithubHelp home page GithubHelp logo

tianyaxiang / html2md Goto Github PK

View Code? Open in Web Editor NEW

This project forked from helloworld-co/html2md

0.0 1.0 0.0 737 KB

helloworld 开发者社区开源的一个轻量级,强大的 html 一键转 md 工具,支持多平台文章一键转换,并保存下载到本地。

Home Page: https://www.helloworld.net/html2md

JavaScript 63.36% CSS 13.98% Vue 21.71% SCSS 0.94%

html2md's Introduction

🎉 Html2md 🥳

html2md 是由 helloworld开发者社区 开源的一款轻量级功能强大的html转md工具💪🏻,纯前端开发,不需要后端接口( Node是我们前端的😗!),支持多平台,一键将文章链接转换为md,方便大家收藏和保存文章🤪。请勿做其它用途

html2md地址 👈🏻

教程,如下图

html2md教程


技术栈

  • vue 前端三剑客之一,主张最少,具有高度灵活性的渐进式框架
  • nuxt 通过利用 Vue.js 和 Node.js最佳实践来构建高性能应用程序
  • express 基于 Node.js 平台,快速、开放、极简的 Web 开发框架
  • element-ui 宇宙第一 Vue 第三方组件库,有不服?
  • js-dom 一款可在 Node 环境下模拟浏览器的 API 的库
  • turndown 使用 JavaScript 将 HTML 转换为 Markdown
  • axios 易用、简洁且高效的 http库,支持浏览器和 Node 环境。
  • mavon-editor 一款基于 Vue 的 markdown 编辑器,支持所见即所得
  • sass 强大的 Css 预处理器之一

使用

第一步:下载

git clone [email protected]:helloworld-Co/html2md.git
cd ./html2md

第二步:安装

npm install
或者
yarn install

第三步:启动

npm run dev
或者
yarn dev

使用备注

  • 防盗链:由于各大网站的图片基本都会有防盗链机制,转换出来的 md 里的图片会无法正常预览,这个不慌 😳,把 md 内容复制到 helloworld开发者社区 的写作文本框中就能正常显示了👌🏻。
  • 微信文章:微信文章内容格式差异性比较大,不能保证 💯% 好使,如果一篇不能解决,那就换下一篇吧😏。

更新日志

  • 2021.02.07
  1. 新增 a 标签和 img 标签中的相对路径转换成绝对路径功能,方便以后查找源路径。
  • 2021.03.27
  1. 底部添加转载来源声明。
  • 2021.04.20
  1. 添加对知乎专栏文章的支持👌🏻。
  • 2021.05.01
  1. 添加 Markdown 内容的文件保存和下载⬇️。
  • 2021.06.27
  1. 添加 HTML 直接转 Markdown 功能,和之前的 URL 转 Markdown 区分开来,可切换使用。
  • 2021.07.10
  1. 添加对 learnku 文章的支持👌🏻。

技术交流群 / 官方公众号

微信号 daitukeji
官方微信群 官方公众号

支持环境

现代浏览器及 IE11。

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

参与贡献

我们非常欢迎你的贡献,你可以通过以下方式和我们一起共建 😃

技术交流

html2md's People

Contributors

gittig11 avatar mrxujiang avatar

Watchers

 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.