Skip to content

RemNote single line style

Rubaiyat Khondaker edited this page Dec 11, 2020 · 3 revisions

Usage

Regex line: ^(.*[^\n:]{1}):{2}([^\n:]{1}.*)

  1. Create a file called test.md
  2. Paste the following contents into the file:
This is how to use::Remnote single-line style
The script won't see things outside of it.
You can have::multiple notes in the same file

Obsidian Plugin users

  1. In the plugin settings, paste the Regex line into the 'Custom Regexps' field associated with 'Basic'
  2. Ensure that the 'Regex' option is checked
  3. Click the Anki icon on the ribbon to run the plugin

Python Script users

  1. Run the script, and check 'Config' to open up the config file:
    GUI
  2. Navigate to the "Custom Regexps" section
  3. Change the line
Basic =  

to

Basic = ^(.*[^\n:]{1}):{2}([^\n:]{1}.*)
  1. Save the config file
  2. Run the script on the file, with 'Regex' checked:
    GUI

All users

  1. You should see these cards in Anki:
    remnote_1
    remnote_2
Clone this wiki locally