关于PDF插件的问题
#4956
Replies: 1 comment 2 replies
-
pan.333444.xyz 允许你的站点跨域访问么? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
在md中嵌入以下语法
电脑端 chrome 浏览器可以正常预览 pdf 文件
但是在手机端无法预览,只能显示阅读器工具栏,不显示任何内容
我的pdf插件是这样配置的
即使自托管pdfjs (下载 pdfjs 软件包解压到 public 文件夹下),
然后将 pdfjs 指向
/pdfjs/build
路径,或者指向/pdfjs/build/web/viewer.html
文件手机端浏览器仍然无法预览 pdf 文件。请教大佬:我该如何操作?
另外,在此处分享一个缩小
幻灯片
字号的方法幻灯片组件默认字号太大了,导致页面内容稍微多一点就无法完全显示
通过修改 css 样式可以解决这个问题:
找到
/根目录/src/.vuepress/styles/index.scss
文件,在其中加入以下代码即可:Beta Was this translation helpful? Give feedback.
All reactions