Skip to content
TOC

Introduction

Module

It is similar to plugins/addons, which are internal to OhMyMN.

OhMyMN is essentially a toolbox. All the functionalities inside are in separate modules, each of which is provided with three capabilities:

  1. When excerpting, modify the excerpted content or get the excerpted content and perform other operations.
  2. After selecting a card in the mindmap, make changes to the card or get information and perform other operations.
  3. After selecting text in a document, get the text or selection information and perform other operations.

Some modules may use all three capabilities, some may use only one of them, and some may use none of them with only a few options.

Modules that use the first capability usually start with Auto, such as AutoTitle and AutoDef, indicating that they can be executed automatically on excerpt (this is not by default though. You need to turn on Auto Run When Excerpting. Modules that use the first capability usually also use the second capability in order to handle cards that already exist.

The second and third capabilities are also often used together, for example, for copying, searching, and exporting. They have a common name - Action. The actions of all modules are in MagicAction for Card and MagicAction for Text. The button, when clicked, performs the corresponding action.

Apart from that, all modules are divided into two main categories.

  1. Required modules: Modules that cannot be disabled.

  2. Optional modules: You can select the modules to be enabled in the OhMyMN —— Module Quick Switch.

    • Shortcut: Use URL Scheme to trigger actions. You can set your own shortcut keys to open the URL Scheme.
    • Gesture: Use gestures to trigger actions.
    • CopySearch: Copy or search for selected text or selected cards.
    • AutoX
      • Another AutoTitle: Auto convert titles.
      • Another AutoDef: Auto split excerpts into two parts (title and excerpt) and extract the title.
      • AutoFormat: Auto format excerpts, such as automatically adding spaces.
      • AutoComplete: Auto complete English word forms, fill in word information, and make word cards.
      • AutoReplace: Auto replace the content in the excerpt.
      • AutoList: Auto break the line at the specified position and add the serial number.
      • AutoTag: Auto add tags or extract parts of the content as tags.
      • AutoComment: Auto add comments or extract parts of the content as comments.
      • AutoStyle: Auto set the excerpt color and fill style.
      • AutoOCR: Auto OCR recognition or correction of extracted selections.
      • AutoTranslate: Auto translate the excerpted content.
      • AutoSimplify: Auto convert from Traditional Chinese to Simplified Chinese.
    • Export to X
      • Export to Flomo
      • Export to Anki
      • Export to Devonthink

Released under the MIT License.