Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emoji killing datetime #853

Closed
1 task done
VagnerDomingues opened this issue May 21, 2019 · 6 comments · Fixed by #1746
Closed
1 task done

Emoji killing datetime #853

VagnerDomingues opened this issue May 21, 2019 · 6 comments · Fixed by #1746
Labels

Comments

@VagnerDomingues
Copy link

VagnerDomingues commented May 21, 2019

Bug Report

Steps to reproduce

Just Write a datetime with :01: in hourly period anywhere in the documentation.

What is current behaviour

An emoji is appearing in the middle of datetime like the image below:

image

What is the expected behaviour

People should be able to write hourly periods with seconds in datetime objects representation in their documents, which means writing twice double dots between a number like this... :01:

Other relevant information

There should be an option to disable these emojis.

  • Bug does still occur when all/other plugins are disabled?

  • Your OS:

  • Node.js version: v7.5.0

  • npm version: 4.1.2

  • Browser version: Chrome 74.0.3729.157 (official) 64 bits

  • Docsify version: latest from cdn

  • Docsify plugins: docsify-themeable, docsify-pagination

@Koooooo-7
Copy link
Member

Hi ,
the bug is a little bit funny 🤣 。
it seems wrong to parse datetime as emoji syntax :emoji:
I think it should work that making datetime in the code syntax , add ` 。
` 2019-05-06 10:11:12`

@VagnerDomingues
Copy link
Author

i can't escape it like that because it'll loose original css styling which is made for ease readings,
i'm using it like this:

image

i just wanted to disable emoji feature because it will never be used in this documentation and it's already on production... cheers!

@VagnerDomingues
Copy link
Author

please if anyone could help i'd be very thankfull..

you can check it on production here:
https://fairlay.com/api/#/public/?id=examples

@VagnerDomingues
Copy link
Author

so... no way to get rid of emojis?

@Mkots
Copy link

Mkots commented Aug 8, 2019

so... no way to get rid of emojis?

You can try:
window.$docsify = { noEmoji: true };

@stale
Copy link

stale bot commented Feb 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants