It hasn't collapse it when expanding my code ?
-
Hello,
I feel like the function of “Posting Source Code” on WordPress is very fantastic after I take several experts’ good advice last week.
Unfortunately, when I use this “collapse“, its display effect is not very nice – It hasn’t collapse it when expanding my code.
Appreciate you very much if any help.
Best Regards
Quanwen ZhaoThe blog I need help with is: (visible only to logged in users)
-
hi,
This works for me:
[code collapse="true" language="sql"]
select 1 from dual;
[/code]https://screenshots.firefox.com/EiRqEHIqAdwyK1w1/wp20180808.com
Can you share your code snippet ?
-
Hello, kosiew
Now, I’ve captured 4 screenshots for saving to my laptop, nevertheless I’ve no idea about how to upload your image to “https://screenshots.firefox.com/“.
Actually, I wanna display effect on Sayan Malakshinov’s blog post – “http://orasql.org/2013/05/22/sqlplus-tips-6-colorizing-output/”.
As you can see, about that 3 code blocks can all expand and collapse. It seems to be flexible.
Best Regards
Quanwen Zhao -
hi,
I see what you mean now.
There is no way to collapse the code snippet after expanding it.I looked around and found that someone else also complained of the same:
As far as I can tell, once a reader has expanded a snippet that was initially collapsed, there is no way for him to re-collapse it. That would be a nice enhancement for WordPress — to allow a reader to collapse and expand a code snippet.
https://pythonconquerstheuniverse.wordpress.com/2011/11/06/posting-sourcecode-on-wordpress/
This could be an enhancement you want to suggest in https://en.forums.wordpress.com/forum/ideas/.
-
hi,
no idea about how to upload your image to “https://screenshots.firefox.com/“.
https://screenshots.firefox.com/
This is a new Firefox feature ;-)
-
Hello, kosiew
Thanks for your advice.
I’ve downloaded and installed the latest version of Firefox to my laptop. How do I capture a screenshot to generate a website’s sharing resource like yours?
Best Regards
Quanwen Zhao -
hi Zhao,
The instructions are at https://screenshots.firefox.com/.
The difference is my button to take screenshot appears when I click on the ellipsis next to the url at the address bar.
- The topic ‘It hasn't collapse it when expanding my code ?’ is closed to new replies.