-
-
Notifications
You must be signed in to change notification settings - Fork 154
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
withClass annotation is not working #354
Comments
Hi, The comment syntax depends on the language. Currently the comment detection isn't super smart, if |
It kind of worked, thank you. Can you apply Does code hike have a language for terminal prompts? (e.g. keep all CLI outputs in white color regardless of the theme used) |
It should work twice in the same line. Here for example.
Nope, but I want to add something eventually. If you have ideas you can share them in this issue: #206. |
In regards to the For example if I have 20 lines of code in one step, and would like to apply a specific style to lines 2, 6, 12, is there a way to do it in one line ( |
Yes. The syntax is like this:
|
Can you try it in the playground and share the link? |
Here is the playground link. I made it work with applying styling to columns using square brackets, but just wondering if there is a cleaner solution with applying custom styling to line(s) |
Oh, that's because you are applying both annotations to the same line (mark and withClass). |
Thank you! That's exactly what I was looking for. |
Hello,
I'm following this code hike docs to implement a withClass annotation to make the first line
bold
here is my code:here is my css:
And instead of applying the styling from the bold class, I see this
# withClass[1:45] bold
in the code container:
Any suggestions?
The text was updated successfully, but these errors were encountered: