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

Typewriter effect #6

Open
1 of 2 tasks
HugoGranstrom opened this issue Mar 22, 2022 · 0 comments
Open
1 of 2 tasks

Typewriter effect #6

HugoGranstrom opened this issue Mar 22, 2022 · 0 comments

Comments

@HugoGranstrom
Copy link
Owner

HugoGranstrom commented Mar 22, 2022

Two new blocks that add a typewriter effect so it looks like someone is typing them. Example: https://www.w3schools.com/howto/howto_js_typewriter.asp

  • typeText: takes text and pace as inputs. Implemented in Migrate to nimib 0.3 - BlockMaker #5
  • typeCode: needs to take the static highlighting into account or else random HTML tags will pop up out of nowhere.

Problems:

  • How to make it start when the slide is visible, or even when a fragment is showing it? By default it will start when the page loads I guess nbCodeToJs to the rescue!
  • Reveal rewrites the code blocks so we might have to parse their code to start with.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant