Code Monkey home page Code Monkey logo

anki's Introduction

README

Example about creating cards bulkly

Using yaml as global configuration, tags and deck

deckName: Default
tags: ['foo', 'far', 'bar']

Basic note types

Most frequently(90%) note are 1. create basic note, which only contain front and back field 1. [CAVEAT] you have to make a newline so the below part would consider as a back field. Otherwise it would belong to front side 2. If you want create front field with multiple line, you can check [2] example 2. [3] create cloze note, no matter how many cloze you got 3. [4] I want x cloze in the same card, rather than seperately

- The population of China at 2020? [1]

1.4 billion.

- Give me some reasons about why China could feed so much [2]
  people at Qing Dynasty

I dont know for sure

- there are {{1.4 billions}} people living in China at {{2020}} [3]

you can also add note for **cloze** note

- there are {{1:1.4 billions}} people living in {{China}} at {{1:2020}} [4]

Road Map

Convert As Typescript package [0/3]

  • [ ] define note type
  • [ ] file command
  • [ ] refactor parser.js to parser.ts

Further Features

  • [ ] using marked parser instead of using regex to parse markdown file
  • [ ] store anki notes id at original file
  • [ ] using pangu.js to format input data
  • 可以直接通过网页端来创建 Note
    • 建立对定义的拆解,包括对每个部分的细化,以及 cloze
    • 也可以进行删除
    • 对定义进行引用
  • 也可以渲染成 Markdown 进行预览

Frequently DEBUG Questions

  • UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property =result of ‘undefined’ or ‘null’.=
    • using lsof -i:8765 found out whether the port of Anki-Connect occupied
    • if it occupied, restart Anki or kill \${lsof -t -i:8764}

anki's People

Contributors

kngzhi avatar dependabot[bot] avatar

Stargazers

Marko Vujanic avatar

Watchers

James Cloos avatar  avatar

anki's Issues

同学,您这个项目引入了180个开源组件,存在19个漏洞,辛苦升级一下

检测到 KngZhi/anki 一共引入了180个开源组件,存在19个漏洞

漏洞标题:lodash 安全漏洞
缺陷组件:[email protected]
漏洞编号:CVE-2019-10744
漏洞描述:lodash是一款开源的JavaScript实用程序库。
lodash 4.17.12之前版本中存在安全漏洞。攻击者可借助defaultsDeep参数利用该漏洞添加或修改Object.prototype的对象。
国家漏洞库信息:https://www.cnvd.org.cn/flaw/show/CNVD-2019-25451
影响范围:(∞, 4.17.12)
最小修复版本:4.17.12
缺陷组件引入路径:[email protected]>[email protected]>[email protected]
[email protected]>[email protected]>[email protected]
[email protected]>[email protected]>[email protected]

另外还有19个漏洞,详细报告:https://mofeisec.com/jr?p=i905ad

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.