温馨提示:本文翻译自stackoverflow.com,查看原文请点击:github - Dart pub.dev published plugin, broken images in README.md
dart github Markdown dart-pub

github - Dart pub.dev发布的插件,README.md中的图像损坏

发布于 2020-04-11 23:32:53

我在pub.dev和GitHub上发布了一个插件,在Github链接的README.md中显示了2个屏幕截图。这些在Github上很好,但在pub.dev上就坏了。我尝试了所有方法,但仍然相同。

Screenshot# 01             |  Screenshot# 02
:-------------------------:|:-------------------------:
<img src="https://github.com/shahzadakram67/flutter_tex/blob/master/screenshots/Screenshot_1.png"/> | <img src="https://github.com/shahzadakram67/flutter_tex/blob/master/screenshots/Screenshot_2.png"/> 

GitHub:https : //github.com/shah-xad/flutter_tex

pub.dev:https://pub.dev/packages/flutter_tex

查看更多

提问者
Shahzad Akram
被浏览
81
VonC 2020-02-02 13:56

pub.dev中使用的实际URL应为:

 https://raw.githubusercontent.com/shah-xad/flutter_tex/master/screenshots/Screenshot_1.png
 NOT:
 https://github.com/shahzadakram67/flutter_tex/blob/master/screenshots/Screenshot_1.png