沈唁
3f03e78418
fix: search can not search the table header ( #1256 )
2020-07-01 08:36:06 +08:00
沈唁
34d918f997
fix: after setting the background image, the button is obscured ( #1234 )
...
* fix: after setting the background image, the button is obscured
* Update _coverpage.styl
2020-06-26 15:46:26 +08:00
Mohammed Sahl
0663cb3ab1
Fix: fixed onlycover flag in mobile ( #1243 )
2020-06-26 15:29:45 +08:00
Anix
714ef29afe
feat: added html sanitizer for remote rendering ( #1128 )
...
Co-authored-by: Joe Pea <joe@trusktr.io>
2020-06-17 23:55:59 +05:30
Mohammed Sahl
0bf03f5810
fix: cover overlapping sidebar by removing z-index
...
* Fix cover overlapping sidebar
* Fix transition of cover page
* Revmove transition property from .cover
* Remove z-index attribute from _coverpage.styl
2020-06-15 22:43:31 +05:30
Joe Pea
809fda9591
Merge branch 'develop' into allow-config-function
2020-06-07 14:10:57 -07:00
沈唁
785302602b
style: Get emoji from github api ( #1188 )
...
* style: Get emoji from github api and remove emoji for 404
* update all emojis use github
* fix url is not unicode
* Update index.html
2020-06-08 04:31:44 +08:00
Joe Pea
dca22f3ced
simplify import
2020-06-07 11:27:38 -07:00
Joe Pea
79fe3d5c5e
remove some unused code and accept eslint changes
2020-06-07 11:24:54 -07:00
Joe Pea
88033b639e
remove the DOCSIFY global made by Rollup, and move Docsify into a separate file where we can import it from tests while leaving the entry point for the bundle without any exports so that Rollup will not create a global variable from it
2020-06-07 11:09:06 -07:00
沈唁
31010e4979
fix: search does not find the contents of the table ( #1198 )
...
* fix: search does not find the contents of the table
* refactor: add getTableData function
2020-06-07 14:07:28 +05:30
Joe Pea
7e002bf939
feat: update src/core/index.js to export all global APIs, deprecate old globals in favor of a single global DOCSIFY, and add tests for this
2020-05-23 14:10:00 -07:00
沈唁
1a09ce3a77
Fix: emoji +1 and -1 not rendering ( #1187 )
2020-05-23 09:05:25 +08:00
Anix
5ea28c465a
Merge pull request #1102 from tschaible/bugfix/multiple-embeds
...
fix: updated the insertion of embedded tokens for async returns (fixes #970 )
2020-05-22 15:29:10 +05:30
Anix
bd9e24b7ae
Merge pull request #1147 from HerbertHe/patch-1
...
fix: rendering cover width bug
2020-05-22 15:27:19 +05:30
沈唁
e9dd2de384
fix: consistent location of search result
...
* fix 1098
* Update component.js
* Update component.js
2020-05-22 15:25:40 +05:30
Joe Pea
b4b8bdc93e
add tests to make sure the global and plugin APIs are available and that configs can be functions
2020-05-22 01:28:34 -07:00
Joe Pea
f72bf4cc9a
allow the user's $docsify config to be a function that receives as input the Docsify instance
2020-05-21 23:36:18 -07:00
Anix
3d662a5bf7
fix: fixed target and rel issue ( fixes #1183 )
2020-05-20 11:14:26 +00:00
mau-jac
9ff4d06773
fix: default html img resize if no height included ( #1065 )
...
* fix: default html img resize if no height included
* chore: adjust render test to not expect height
2020-05-18 16:42:59 +05:30
Kumaravel Palanisamy
699172db37
Cursor pointer added for search clear button
2020-05-16 15:07:28 +05:30
Koy
fd2cec6bd6
fix: cross-origin url cannot be redirected when "externalLinkTarget" is set to "_self" and "routerMode" is set to "history". ( #1062 )
...
* [fix #1046 ] fix cross-origin url cannot be redirected when "externalLinkTarget" is set to "_self" and "routerMode" is set to "history".
* [code format] code format.
* update docs
* docs refine.
* fix(core): cross-orgin link work incorrect (#1046 )
Fix cross-origin url cannot be redirected when "externalLinkTarget" is set to "_self" and "routerMode" is set to "history".
Add new configuration for those cases and completed docs.
Fixes #1046
PR Close #1062
2020-05-15 11:00:36 +05:30
沈唁
6e554f8ebd
fix: The search error after setting the ID in the title ( #1159 )
...
* Update search.js
* Update search.js
* Update search.js
* Update search.js
2020-05-14 17:18:17 +05:30
Anix
708ca9db7c
Merge pull request #1111 from CHU295/develop
...
fix~issues 1110
2020-05-14 17:15:08 +05:30
沈唁
f2ff01d91e
Update component.js
2020-05-14 08:51:50 +08:00
沈唁
62d0986b74
Delete sidebar.js
2020-05-13 09:09:38 +08:00
沈唁
f9d0c721eb
Create sidebar.js
2020-05-13 09:09:16 +08:00
沈唁
6ac71f9056
Delete sidebar.js
2020-05-13 08:59:02 +08:00
沈唁
7d38a32a5a
Create sidebar.js
2020-05-13 08:58:34 +08:00
Anix
22030f4328
Merge pull request #1148 from sytone/develop
...
Updated embed to strip YAML front matter fixes #1129
2020-05-07 14:00:24 +05:30
Sytone
b05949a161
Add front matter to dev page
...
Update embeded files documentation
Add example with front matter
Add various comments I used to understand code
Updated front matter to have installed flag
Added function to parse front matter
Added intercept to remove front matter for embed
2020-04-27 12:24:24 -07:00
Herbert
717991c90c
fix: rendering cover width bug
2020-04-28 01:07:27 +08:00
vagra
b108c86d38
reset and modify.
2020-04-27 16:55:55 +08:00
Luffy
dcb0aaea99
fix: Inconsistent search and body rendering
...
* fix
* Update search.js
* Update search.js
* Update search.js
* Update search.js
* Update search.js
2020-04-19 19:42:55 +05:30
CHUXK
1c43abe8ff
Linting Checks
2020-04-15 16:03:40 +08:00
CHUXK
fed6a83930
Linting Checks
2020-04-15 16:01:09 +08:00
koooooo-7
517f0d7dea
[ fix #1115 ] Image resize in % doesn't work.
2020-04-13 23:04:34 +08:00
CHUXK
b4e7b21928
Update component.js
...
fix bug https://github.com/docsifyjs/docsify/issues/1098
2020-04-10 11:30:12 +08:00
CHUXK
d32d91bebc
Update sidebar.js
...
fix bug https://github.com/docsifyjs/docsify/issues/1110
2020-04-10 11:28:32 +08:00
Tom Schaible
ea17dcc66c
updated the insertion of embedded tokens so it correctly handles embedded token results returning in any order
...
fixes #970
2020-04-07 08:21:24 -04:00
anikethsaha
154abf59a6
fix: digit issue with sidebar (complete REVERT to old method)
2020-03-24 18:47:43 +05:30
Anix
9afa66607d
chore: removed circular dep and css.escape
2020-03-09 20:33:07 +05:30
Anix
406670c3d6
fix: fixed rendering of color in coverpage issue
2020-03-09 20:30:01 +05:30
Anix
5f86454175
IMMEDIATE FIX TILL MAJOR FIX IS COMMING FOR CSS.ESCAPE
2020-03-09 18:01:45 +05:30
Kid
5d541dd7d4
improve basic layout style ( #884 )
...
* improve basic layout style
* add missing modification
2020-03-09 14:26:05 +05:30
Máté Solymosi
0f1749cb66
chore(scroll): smarter scroll behavior ( #744 )
...
authored-by: Mate Solymosi <mate.solymosi.ext@siemens.com>
2020-03-09 14:23:08 +05:30
Martin Mihálek
291c99bc38
Migrate relative links to absolute in embedded markdown ( #867 )
...
Signed-off-by: Martin Mihálek <aenniw@gmail.com>
2020-03-09 14:21:46 +05:30
Leonardo Rossi
b53ea1e304
Adds option to specify an header height ( #1045 )
...
* Adds option to specify an header height
When using a template that has a sticky-header, clicking on the sidebar will
scroll the page under the header.
I added the option `headerHeight` (default = `0`) so that the content div will
be scrolled down that amount of pixels.
* updates documentation and renames variable
2020-03-09 14:19:31 +05:30
Anix
b7547f151e
feat: new option hideSidebar ( #1026 )
...
* feat: new option hideSidebar
* chore: removed the console logs
* chore: linting fixes
* chore: test fix
2020-02-20 22:19:31 +05:30
Anix
75c72e917b
chore: added new linter config ( #1028 )
...
* chore: added new linter config
* chore: linting fixes
* chore: refactore in linting config and minor linting fixes
2020-02-20 14:01:04 +05:30