-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
(JavaScript) tabReplace configure doesn't work #2634
Comments
Looks right at a quick glance. Please create a reproducible JSFiddle example. You can fork mine if it helps. https://jsfiddle.net/ajoshguy/2bmdswn6/27/ My first guess would be that you think you have tabs but really you don't. |
Ping. |
I have tried many times. I have stop the TAB Replacing job and now I just want to make the calling from C# (Form in VSTO) work well. Microsoft's API doesn't give me enough debug info. My code can be compiles but cannot run. |
We can't help if you can't provide a reproducible case with just the core library that we can look at. Sounds like you're doing a lot of complex stuff and the problem is quite likely with your code, not ours. |
I am sorry for not providing a reproducible case. The jsfiddle online tools seems cannot upload a project. I want to develop a Microsoft Word Add-In (developed in C#) which can help the user to insert highlighted code in their word document. I am convinced your Highlight.js is excellent. But I cannot use .Net C# to call JavaScript in my project. I will try my best in the later several days. Thanks! |
No, that's the whole point. You have to create a baby project that just shows the bug with our library alone. This proves it is not a problem with your integration - and gives us a test case to use when trying to solve the problem. The tabReplace code is pretty simple, so it's hard to believe it's broken. (although you never know) If you use the library on it's own and it works but then it breaks inside your project, changes are it's your project at fault - and sadly we aren't experts on that. |
tabReplace
configure doesn't workI want to use highlight.js in C# so I can build a source code formatting program for Microsoft Word. However, I faced some problem.
I build the
developer.html
and get the HTML file. I changed it because I want to replace the TAB character to 4 spaces or 8 spaces (any numbers of spaces). My developer.html file is like below:I think the key configure syntax is
and I put these code in line
60-65
.The problem is this configure doesn't work . Could anyone tell me about how to correctly put this configure scripts?
The text was updated successfully, but these errors were encountered: