docs and config
This commit is contained in:
parent
56cd63988e
commit
2ceddbdfca
BIN
docs/images/edit_addon.png
Normal file
BIN
docs/images/edit_addon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
BIN
docs/images/edit_dict_menu.png
Normal file
BIN
docs/images/edit_dict_menu.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
@ -19,6 +19,11 @@
|
||||
|
||||
from anki.hooks import addHook
|
||||
|
||||
############## other config here ##################
|
||||
shortcut = 'Ctrl+Q'
|
||||
LDOCE6_PATH = u'D:\\mdx_server\\mdx\\LDOCE6.mdx'
|
||||
###################################################
|
||||
|
||||
def start_here():
|
||||
|
||||
"""
|
||||
@ -28,11 +33,6 @@ def start_here():
|
||||
|
||||
import fastwq
|
||||
|
||||
############## other config here ##################
|
||||
# shortcut
|
||||
shortcut = 'Ctrl+Q'
|
||||
###################################################
|
||||
|
||||
fastwq.config.read()
|
||||
if not fastwq.have_setup:
|
||||
fastwq.config_menu()
|
||||
|
||||
@ -1,8 +1,9 @@
|
||||
#-*- coding:utf-8 -*-
|
||||
import re
|
||||
import FastWQ
|
||||
from .base import MdxService, export, register, with_styles, parseHtml
|
||||
|
||||
PATH = u'D:\\mdx_server\\mdx\\LDOCE6.mdx'
|
||||
PATH = FastWQ.LDOCE6_PATH
|
||||
|
||||
VOICE_PATTERN = r'<a href="sound://([\w/]+\w*\.mp3)"><img src="img/spkr_%s.png"></a>'
|
||||
MAPPINGS = [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user