GithubHelp home page GithubHelp logo

huang5556019 / pandanote Goto Github PK

View Code? Open in Web Editor NEW

This project forked from panway/pandanote

0.0 0.0 0.0 1.32 MB

iOS markdown Note App / iOS的markdown笔记应用

License: MIT License

Swift 70.32% Objective-C 23.65% HTML 2.13% CSS 1.73% Ruby 2.00% JavaScript 0.17%

pandanote's Introduction

一个iOS markdown笔记应用

Why ?

锤子便签还凑合,但是同步功能却经常出现错误(文件容易重复),好用的Bear熊掌记觉得不值得买,且只支持iCloud,无法同步到安卓、Windows、Mac设备。 因为坚果云有文件历史版本功能,所以想基于坚果云的WebDAV服务做个简易笔记App

What ?

主要用来写 markdown 笔记,可使用坚果云等网盘实现云同步,所有文件保存在第三方服务器

设备兼容性:

iOS、macOS(初步支持,使用了Mac Catalyst)

已支持的网盘(协议)

  • WebDAV(坚果云或自己搭建WebDAV服务)
  • Dropbox
  • 百度网盘

已支持的文本编辑功能

  • markdown 原生渲染(待优化)
  • markdown 使用 marked.js 渲染、目录生成、代码高亮
  • markdown 等纯文本的新建、编辑、保存

其他功能

  • 支持预览mp3、mp4、pdf
  • WebDAV HTTP响应和下载的文件缓存到磁盘,无网状态也可以查看文件
  • 文件移动、删除、重命名、新建文件夹
  • 上传相册原始图片到指定目录
  • 图片预览、原图和Gif(微信表情)分享到微信
  • 读取剪切板查看淘宝京东价格曲线
  • 抖音视频无水印下载,微博等视频解析下载

How ?

坚果云用户可在安全选项里添加应用并获取应用密码,密码是独立的,可以随时撤销,自己也可以定时修改保证账号安全

Build and Run

#克隆仓库到本地
git clone https://github.com/Panway/PandaNote.git
#进入文件夹
cd PandaNote
#安装依赖
pod install
#打开工程
open PandaNote.xcworkspace

预览

preview

解析markdown相关资源

AFNetworking作者的: https://github.com/mattt/CommonMarkAttributedString

Cmark的Swift封装:https://github.com/iwasrobbed/Down

markdown与AttributeString互转: https://github.com/chockenberry/MarkdownAttributedString.git

1200+star https://github.com/mdiep/MMMarkdown

1300+star https://github.com/SimonFairbairn/SwiftyMarkdown

577star https://github.com/bmoliveira/MarkdownKit

77star https://github.com/calebkleveter/SwiftMark

MWeb作者使用的:

https://github.com/hoedown/hoedown

https://github.com/ali-rantakari/peg-markdown-highlight

写一个 markdown 解析器,用什么方式比较好呢?

Java 解析 https://github.com/vsch/flexmark-java

pandanote's People

Contributors

panway 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.