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
|
from anki.hooks import addHook
|
||||||
|
|
||||||
|
############## other config here ##################
|
||||||
|
shortcut = 'Ctrl+Q'
|
||||||
|
LDOCE6_PATH = u'D:\\mdx_server\\mdx\\LDOCE6.mdx'
|
||||||
|
###################################################
|
||||||
|
|
||||||
def start_here():
|
def start_here():
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@ -28,11 +33,6 @@ def start_here():
|
|||||||
|
|
||||||
import fastwq
|
import fastwq
|
||||||
|
|
||||||
############## other config here ##################
|
|
||||||
# shortcut
|
|
||||||
shortcut = 'Ctrl+Q'
|
|
||||||
###################################################
|
|
||||||
|
|
||||||
fastwq.config.read()
|
fastwq.config.read()
|
||||||
if not fastwq.have_setup:
|
if not fastwq.have_setup:
|
||||||
fastwq.config_menu()
|
fastwq.config_menu()
|
||||||
|
|||||||
@ -1,8 +1,9 @@
|
|||||||
#-*- coding:utf-8 -*-
|
#-*- coding:utf-8 -*-
|
||||||
import re
|
import re
|
||||||
|
import FastWQ
|
||||||
from .base import MdxService, export, register, with_styles, parseHtml
|
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>'
|
VOICE_PATTERN = r'<a href="sound://([\w/]+\w*\.mp3)"><img src="img/spkr_%s.png"></a>'
|
||||||
MAPPINGS = [
|
MAPPINGS = [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user