Xianzhong Wang
5eb8c4d224
[function] Support to remove header sequence when disable it ( #243 )
...
* [function] Support to remove header sequence when disable it
spec:
In edit mode:
- when click icon to enable auto sequence, add sequence immediately
- when click icon to disable auto sequence, remove already added sequence
In preview/read mode:
- auto sequence icon should be unchecked and disabled
For readonly file, always disable the auto sequence icon.
* [bugfix] Do not let auto sequence ruin the undo history
All the header sequence auto-update should be treated as one edit action.
So that user can undo auto-update by pressing undo twice.
(One undo for the auto-update change, and one for the original header change)
* Refactor and reformat according to PR feedback
2018-05-19 09:56:14 +08:00
Le Tan
d8cc69955d
refine icons
2018-05-18 21:43:37 +08:00
Le Tan
07f1689e11
History: lazy initialization
2018-05-18 20:59:32 +08:00
Le Tan
18ee02d920
IconUtils: add cache to avoid redundant I/O
2018-05-18 20:58:10 +08:00
Le Tan
52546e4664
theme: refine sytle of tab bar
2018-05-18 20:57:50 +08:00
Le Tan
c6cc69e176
refine QDockWidget title icon
2018-05-17 22:10:21 +08:00
Le Tan
f6436bfabf
support history navigation
2018-05-17 21:32:38 +08:00
Le Tan
4284d20dea
preview: add cache for code block in-place preview
2018-05-15 21:24:08 +08:00
Le Tan
f2afe4b4e2
preview: add cache for mathjax in-place preview
2018-05-15 20:12:12 +08:00
Le Tan
d0c38add94
preview: refine scaling in-place preview of diagrams
2018-05-15 20:12:00 +08:00
Le Tan
d681fdebd9
theme: refine height of QTabBar
2018-05-14 22:35:21 +08:00
Le Tan
14070ab67a
preview: scaled in-place preview of diagrams
2018-05-14 22:24:30 +08:00
Le Tan
423cc76ee5
use smooth transformation for previewed images
2018-05-14 21:42:25 +08:00
Le Tan
b5fde4cda9
MainWindow: refine layout
2018-05-14 21:30:12 +08:00
Le Tan
925833d590
export: support copying exported file's content
2018-05-14 20:42:17 +08:00
Le Tan
b355872c5f
export: support %4 for code block css style url
2018-05-14 20:42:02 +08:00
Le Tan
8f24d38bf8
export: remove <title> in embedded SVGs
...
Pandoc will take it as the title of the document by mistake.
2018-05-14 20:41:44 +08:00
Le Tan
f3302d25e8
MainWindow: add navigation box at the left
2018-05-14 20:41:30 +08:00
Le Tan
f8717465c3
refine QFormLayout policy for VSearcher on macOS
2018-05-14 20:39:49 +08:00
Le Tan
4174055574
fix linux CI
...
Use Qt5.9.3.
2018-05-12 10:51:07 +08:00
Le Tan
a71b715428
release v1.16
v1.16
2018-05-11 18:26:59 +08:00
Le Tan
ae6bd79069
update linux ci to Qt 5.9.4
2018-05-11 15:26:46 +08:00
Le Tan
1403324c9b
refine Chinese translations
2018-05-11 15:21:51 +08:00
Le Tan
9ca9e56e82
update README
2018-05-11 15:06:37 +08:00
Le Tan
6752a91ef4
markdown-it: display metadata as code block
2018-05-11 14:39:51 +08:00
Le Tan
3eb3db874e
markdown-it: support emoji
2018-05-11 14:39:51 +08:00
Le Tan
f2c26d8353
VFileList: do not close current tab when opening Unknown file in single click
2018-05-11 14:39:51 +08:00
Le Tan
4e744f30f9
highlighter: no need to check if a header is valid
...
It is fixed in the upstream pmh_parser.
2018-05-11 14:39:51 +08:00
Le Tan
274a5a1aec
add openGL version hint
2018-05-11 14:39:51 +08:00
Le Tan
e47900f7ec
fix compilation warning of pmh_parser on Windows
2018-05-11 14:39:51 +08:00
Erk-
cfaddebe62
Added a archliux version that uses the latests release. ( #233 )
2018-05-10 20:03:19 +08:00
Le Tan
39a8bae529
add plantuml_cmd config for custom command
2018-05-07 08:51:24 +08:00
Le Tan
966d9fb7d7
scale in-place image preview according to scale factor
2018-05-06 22:04:56 +08:00
Le Tan
dba154b2c3
support specifying image size in preview
2018-05-06 21:40:00 +08:00
Le Tan
84437bcd97
update peg-highlight
2018-05-06 16:03:12 +08:00
Le Tan
a2e5d48c65
update pmh_parser for heading space
2018-05-06 11:56:08 +08:00
Le Tan
e2dd062a24
style: support STRIKE and NOTES
...
- Add "strikeout" support in mdhl file;
2018-05-05 14:18:30 +08:00
Le Tan
6558fa85b7
markdown-it: support specifying image size via markdown-it-imsize plugin
...
Only supported in read mode.
2018-05-05 12:34:17 +08:00
Le Tan
ccaaeeef87
bug-fix: VMdTab does not scroll to the correct header in edit mode
...
This is introduced after replacing QStackedLayout with QSplitter.
2018-05-04 20:37:57 +08:00
Le Tan
bab0140c9f
use QWebEnginePage::linkHovered instead
2018-05-04 20:37:40 +08:00
Le Tan
3cd96794d1
disable web view before setHtml() to keep focus unchanged
2018-05-04 20:37:23 +08:00
Le Tan
660e2ba86a
theme: refine selection color
2018-05-04 20:37:03 +08:00
Le Tan
5613b864c2
use 20px for default tool bar icon size
2018-05-04 20:36:09 +08:00
Le Tan
b463340101
PlantUML: add [web]/plantuml_args to pass extra arguments to PlantUML
2018-05-04 20:35:49 +08:00
Le Tan
0faf79b45b
VSettingsDialog: add MathJax configuration and tool bar icon size configuration
2018-05-02 20:02:18 +08:00
Le Tan
de678b5d6d
vim: Ctrl+C to enter Normal mode if vim_exemption_keys does not contain c
2018-05-02 20:02:06 +08:00
Le Tan
450f6f7c18
refine README
2018-05-01 14:23:27 +08:00
Le Tan
c1a46033c8
release v1.15
v1.15
2018-04-29 08:52:49 +08:00
Le Tan
a1cc456f53
refine Markdown guide for Graphviz
2018-04-29 08:50:00 +08:00
Le Tan
b477e50a88
refine Chinese translations
2018-04-29 08:18:08 +08:00