Commit Graph

2865 Commits

Author SHA1 Message Date
Yukai Huang 5e608a9da8
Fix font loading when urlpath is set
Use copy webpack plugin instead. In the old fasion

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-10 16:08:45 +08:00
Yukai Huang 70de439436 Fix baseUrl not replaced correctly in #1378
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-10 11:18:28 +08:00
Yukai Huang 91fb54539a
Merge pull request #1546 from schokotets/develop
feature: pass-through yaml metadata image to html meta tag
2020-07-10 10:33:55 +08:00
Yukai Huang 051789b41c
Merge pull request #1498 from zent00/develop
Update Simplified Chinese translation and fix typography
2020-07-10 10:32:43 +08:00
Max Wu 4fe0f07749
Merge pull request #1506 from hackmdio/feature/csvpreview 2020-07-09 17:37:45 +08:00
Yukai Huang 731cec6966
Revert mdTokens changes
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 17:25:07 +08:00
Yukai Huang cec3c45c2e Update features.md
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 17:14:10 +08:00
Yukai Huang 1adf1221c6 Escape html for table cell
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 17:14:10 +08:00
Yukai Huang b29d2c0a31 Implement cspreview renderer
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 17:14:10 +08:00
Max Wu a569881fcf
Merge pull request #1463 from hackmdio/feature/image-lightbox 2020-07-09 16:41:39 +08:00
Yukai Huang 557fda7c44
Merge pull request #1483 from hackmdio/feat/mindmap
Support mindmap
2020-07-09 16:20:29 +08:00
Yukai Huang 3e09c7a21f
Merge pull request #1505 from daniele-athome/pr/feature/tags-array
Use array for tags when available (close #1496)
2020-07-09 15:50:57 +08:00
Raccoon e9cf0431d4
Merge branch 'develop' into feat/mindmap 2020-07-09 15:48:28 +08:00
Yukai Huang e3a6669c7e Larger draggable area
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang 82253f496f Support keyboard navigation
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang c22ce8da60 Dark mode
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang ec01735424 Zoom/drag image
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang 4219985658 Fix body scrolling in published page
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang 62bbf928b7 Apply image lightbox only in document image
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang 619aabf116 Implement simple lightbox
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
2020-07-09 14:01:22 +08:00
Yukai Huang b142c0200f
Merge pull request #1471 from birdca/feature/fretboard_finishView
Feature/fretboard finish view
2020-07-09 13:42:20 +08:00
Maximilian Haye 6862166064
fix: Allow Sequelize CLI to use options set in config.json
Adds a config.js which uses lib/config to provide the Sequelize CLI with the same options as the application.

Fixes #1396
Signed-off-by: Maximilian Haye <mhajoha@gmail.com>
2020-07-07 14:25:11 +02:00
Ca Chen b5b0b8be36 not to compress css
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:52:19 +08:00
Ca Chen 95947e203f add number system and rwd fretboard
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen b957b8bda2 Use brace wrapped param
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen aad7dcad95 fix lint errors
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen ac7a229b1c fix: css overwritten
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen 6f580e9be8 1. mv fretboard path to `public/js/lib/renderer`
2. use `string-loader` instead of `svg-inline-loader`

Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen 370423aefc add css, make fretboardSVG.js to separate svg files
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
Ca Chen 2ea3e59842 init ascii fretboard
Signed-off-by: Ca Chen <kiancaca@gmail.com>
2020-07-02 12:48:10 +08:00
James Tsai f0faaa58d6 Update gitignore
Signed-off-by: James Tsai <jamesscamel@gmail.com>
2020-07-01 11:42:28 +08:00
James Tsai 84814ee1ee Remove reduntant file
Signed-off-by: James Tsai <jamesscamel@gmail.com>
2020-07-01 11:42:28 +08:00
James Tsai 07f32f5bbf Fix standard
Signed-off-by: James Tsai <jamesscamel@gmail.com>
2020-07-01 11:42:28 +08:00
James Tsai 2973bfbceb Add list-my-note API
Signed-off-by: James Tsai <jamesscamel@gmail.com>
2020-07-01 11:42:28 +08:00
schokotets 2c9f73cfb2
feature: pass-through yaml metadata image to html meta tag
Signed-off-by: schokotets <moritzleni@gmail.com>
2020-06-27 17:22:11 +02:00
Gereon Dusella c7013574e2 added documentation to features.md
Signed-off-by: Gereon Dusella <git@gereondusella.de>
2020-06-03 20:43:52 +02:00
Gereon Dusella 1248bc9cd4 added default value `3` to CMD_DEFAULT_TOC_DEPTH
Signed-off-by: Gereon Dusella <git@gereondusella.de>
2020-06-03 20:17:06 +02:00
Gereon Dusella aa7fb0e012 wrong package referenced in public/docs/yaml-metadata.md
Signed-off-by: Gereon Dusella <git@gereondusella.de>
2020-06-03 18:41:41 +02:00
Gereon Dusella b15c59e15e added an option to set the TOC depth directly inside the [toc] tag
Signed-off-by: Gereon Dusella <git@gereondusella.de>
2020-06-03 18:32:48 +02:00
Gereon Dusella 56e01fa76e added an Environment Variable `CMD_DEFAULT_TOC_DEPTH` to set default toc depth
Signed-off-by: Gereon Dusella <git@gereondusella.de>
2020-06-03 17:38:28 +02:00
Yukai Huang 7b148457a7
Merge pull request #1530 from hackmdio/fix/improve-filesystem-upload
fix: improve image upload to filesystem may caused app crash
2020-06-02 07:45:48 +08:00
Gereon Dusella 5847bf09bf added an option to set the depth of the table of contents freely for every note
Signed-off-by: Gereon Dusella <git@gereondusella.de>
2020-06-01 22:27:16 +02:00
Raccoon c6b6d63301
Merge pull request #1531 from hackmdio/feature/editor-scroll-over-lines
Make editor can scroll over lines
2020-06-01 23:39:56 +08:00
Max Wu b67079d0ed Update to make editor have extra scroll padding in the bottom
that can scroll over editor lines and leave only one line on top of the editor

Signed-off-by: Max Wu <jackymaxj@gmail.com>
2020-06-01 23:08:45 +08:00
Raccoon 8b67d6916d
fix: improve image upload to filesystem may caused app crash
Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-05-31 00:41:01 +08:00
Yukai Huang 4fdb7f8786
Merge pull request #1520 from hackmdio/chore/add-nvmrc
chore: add .nvmrc to fix node version
2020-05-25 22:28:00 +08:00
Yukai Huang f8ff977e98
Merge pull request #1522 from hackmdio/fix/btn-social
fix: replace btn-social with btn-login-method
2020-05-25 22:27:14 +08:00
Max Wu 54d174278e
Merge pull request #1521 from hackmdio/chore/example-to-2.1.0 2020-05-25 22:09:46 +08:00
Raccoon ebec2c0537
fix: replace btn-social with btn-login-method
avoid to use btn-social, some AD block will delete
the DOM with btn-social class.

fixed #1491

Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-05-19 14:42:47 +08:00
Raccoon 201c9bfa84
chore: change image version to 2.1.0 in docker-compose example
Signed-off-by: Raccoon <raccoon@hackmd.io>
2020-05-19 02:13:39 +08:00