fzankl / docsify-plugin-flexible-alerts

docsify plugin to convert blockquotes into beautiful and configurable alerts using preconfigured or own styles and alert types.
MIT License
129 stars 14 forks source link

Unable to display #30

Closed yyhhkya closed 1 year ago

yyhhkya commented 1 year ago

The two "alerts" together will result in the above cannot be displayed

index.html

image

image

bans.md

image

Webpage

image

problem

"Tip" cannot be displayed

fzankl commented 1 year ago

Can you possibly provide the example as code? This would make it easier to reproduce the problem.

yyhhkya commented 1 year ago

OK, because I'm going to bed. I'll send it to you at utc6:00.

yyhhkya commented 1 year ago

The above "ban. md" picture

fzankl commented 1 year ago

The above "ban. md" picture

Sorry, but I cannot find any code snippet. To be able to reproduce the issue, I need the content of the files index.html and ban.md

yyhhkya commented 1 year ago

Do I need to provide "index. html" file and "ban. md" file

yyhhkya commented 1 year ago

Desktop.zip

yixiu025 commented 1 year ago

this can solve, after every alert append a space symbol, e.g. 如下方案可解决此问题, 在每一个alert末尾增加一个空格

> [!NOTE]
> 提示信息2 

> [!TIP]
> 提示信息2 
qyh214 commented 1 year ago

confirm,can in first alert end add space can temporary fix.

fzankl commented 1 year ago

@yyhhkya @qyh214 @yixiu025 Can you please confirm that the associated PR does fix the issue?

qyh214 commented 1 year ago

@fzankl It seems that test needs to be self compiled, because I directly request https://unpkg.com/docsify-plugin-flexible-alerts,maybe can you give me compiled version and I can test it quickly

fzankl commented 1 year ago

@qyh214 I've uploaded a compiled and minified version to a separate branch. Just use this URL to use the version including the fix: https://raw.githubusercontent.com/fzankl/docsify-plugin-flexible-alerts/30-unable-to-display-compiled/docsify-plugin-flexible-alerts.min.js

qyh214 commented 1 year ago

@qyh214 I've uploaded a compiled and minified version to a separate branch. Just use this URL to use the version including the fix: https://raw.githubusercontent.com/fzankl/docsify-plugin-flexible-alerts/30-unable-to-display-compiled/docsify-plugin-flexible-alerts.min.js

test it and can not fix and seems break it? 20221222173358

fzankl commented 1 year ago

@qyh214 I've uploaded a compiled and minified version to a separate branch. Just use this URL to use the version including the fix: https://raw.githubusercontent.com/fzankl/docsify-plugin-flexible-alerts/30-unable-to-display-compiled/docsify-plugin-flexible-alerts.min.js

test it and can not fix and seems break it? 20221222173358

That's weird. I've just tested it using the compiled file and it works for me Can you please provide the content of the respective markdown section?

qyh214 commented 1 year ago

@qyh214 I've uploaded a compiled and minified version to a separate branch. Just use this URL to use the version including the fix: https://raw.githubusercontent.com/fzankl/docsify-plugin-flexible-alerts/30-unable-to-display-compiled/docsify-plugin-flexible-alerts.min.js

test it and can not fix and seems break it? 20221222173358

That's weird. I've just tested it using the compiled file and it works for me Can you please provide the content of the respective markdown section?

I think fix!I download it and use it in locale and test well. 20221222174944 seems well and I have removed space to temporary fix.

fzankl commented 1 year ago

That are good news. 👍🏼 Then I will finish the PR and make a new release.