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

Feature: Ajax Reload Highlighter #31

Open
ayachi-core-001 opened this issue May 16, 2021 · 1 comment
Open

Feature: Ajax Reload Highlighter #31

ayachi-core-001 opened this issue May 16, 2021 · 1 comment

Comments

@ayachi-core-001
Copy link

Sorry here again.
How can I fire the Highlighter when using ajax to show a post page.

Does this in your code works? I also use ajax to "show more posts, but sometimes it won't work.

$(document).ready(function () {
        UrvanovSyntaxHighlighterSyntax.init();
    });
@urvanov-ru
Copy link
Owner

@LMCDN yes, this code is initialization for highlighter. I don't know, can it work with ajax or no. I never used it in my site.

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

2 participants