-
Notifications
You must be signed in to change notification settings - Fork 2k
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 request: fold the code [solved] #200
Comments
Fold — it's like spoiler? Somewhere i can see example with code folding? |
So? Here is plugin hexo-sliding-spoiler. |
I'm sorry to bother you. With the help of everyone, the problem has been solved perfectly. |
@ivan-nginx I tested the plugin .. |
What u want, i don't understand. |
@xiekeyi98 the use of highlight with codeblock can check this. |
@sli1989 you mean I should use the codeblock to make the code highlight , and use the other plugins or functions to fold the code like spoiler ? |
Simply to say , I want to fold the code like ~~~spoiler~~~( I found the spoiler is not what I want ) , and can highlight the code easiliy .( I want to choose the language like markdown . Now some implementation can not choose the language. |
they are difference function and not contradictory... |
@sli1989 Thanks a lot . And have to say that I am so sorry for my poor English. |
I use the :
Finish my problem . |
@ivan-nginx i think |
It's will be something like autospoiler? You want to fold all your code blocks by default, if option Can u try to use I just still don't understand what u exactly want. I think your code blocks very big to height and user must a lot of scroll your post, and information became not nice-looking. So, for good give your info from your blog you must economize vertical scroll of current page on maximum and use colorized instruments to design your post to better reading. |
@ivan-nginx you're right, i think it's good for me,thanks |
@xiekeyi98 @ivan-nginx @sli1989 Use html |
I want to have a good feature , which is can fold the code . ( If user click the button , all the code will be show , reversely , it will not show too many lines.
I looked at the latest features and don't seem to have the support.
And I found someone implement the feature by modify the
themes/next/source/js/src/post-details.js
( links: http://www.bubuko.com/infodetail-2466336.html sorry for Chinese )
It sounds a great feature , isn't?
The text was updated successfully, but these errors were encountered: