Giter VIP home page Giter VIP logo

phodit's Introduction

Phodit - 私人定制的 Markdown 编辑器

Build Status GitHub package.json version Markdown Improve

一个基于 Electron 的私人定制的 Markdown 编辑器

Screenshots

Screenshots

Features

  • 标题折叠
  • 支持所见所得模式
  • 编写时图片
  • 语法高亮
  • 集成 Terminal
  • markdown 实时预览
  • 工程管理
  • 支持使用 Git 来编写 markdown 项目
  • 支持全屏
  • 语法高亮
  • 编辑器主题切换
  • 导出支持(pdf、docx)
  • 右键选择搜索: Google, Baidu, WIKI, Zhihu, Github
  • 微信公众号排版支持
  • 支持 Slide 编写(by reveal.js)
  • .md.markdown 文件关联打开

Tech Stack

Phodit 是一个使用微前端架构开发的 Electron 应用:

  • React.js -> TreeView
  • Angular -> Rename box
  • Stencil.js + Web Components -> Terminal Header

相应的技术栈有:

  • SimpleMDE + CodeMirror -> Editor
  • xterm -> Terminal
  • marked -> Markdown Parser
  • highlight.js -> Code Highlight
  • Reveal.js -> Slide

Setup

requirements: node.js

Submodule

git submodule init
git submodule update
npm install --python=python2.7
yarn install 
yarn build:app

Components

Name Path Stacks
editor ./editor SimpleMDE
header ./component/header Stencil.js
interact ./component/interact Angular
tree-view ./component/tree-view React

Setup && build

yarn install
yarn build

License

Phodal's Idea

© 2018~2021 A Phodal Huang's Idea. This code is distributed under the MIT license. See LICENSE in this directory.

phodit's People

Contributors

dependabot[bot] avatar phodal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phodit's Issues

Error: Cannot find module '../../assets/data/output.json'

OS X 里yarn start遇到个问题

App threw an error during load
Error: Cannot find module '../../assets/data/output.json'
    at Module._resolveFilename (internal/modules/cjs/loader.js:584:15)
    at Function.Module._resolveFilename (/Users/chaowang/source/js/phodit/node_modules/electron/dist/Electron.app/Contents/Resources/electron.asar/common/reset-search-paths.js:43:12)
    at Function.Module._load (internal/modules/cjs/loader.js:510:25)
    at Module.require (internal/modules/cjs/loader.js:640:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/Users/chaowang/source/js/phodit/dist/native/main.js:18:22)
    at Object.<anonymous> (/Users/chaowang/source/js/phodit/dist/native/main.js:339:3)
    at Module._compile (internal/modules/cjs/loader.js:693:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704:10)
    at Module.load (internal/modules/cjs/loader.js:602:32)

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.