Code Capsule Line Numbers Show During Edit
Currently we can't view line numbers unless we preview a hub-in-progress. It would be awesome to see them as we're writing the hub so that we can umm more easily reference line numbers (so we don't have to keep looking back as we're writing.)
On a side note, a better looking syntax highlighter would be nice, too.
It would be nice to have multiple styles of code capsules for example if we want to write a programming hub on writing a program with multiple files. It would be easy, then, for readers to differentiate which is file_a and which is file_b
Okay, so I am in the middle of writing a programming hub and it would be REALLY cool if there was was a capsule that resembled a bash prompt so I can show what the output should look like.
It would work just like the code capsule, but would look like a bash prompt so that readers can quickly differentiate between code capsules and bash capsules. Also, readers would quickly see "Oh hey, that's what the code is supposed to output."
I mean, I COULD use a picture, but that would mean a lot of pictures. tongue I'll go and use pics for now and on monday or tuesday when I publish this baby, ya'll can see what I mean.
by Michele Kelsey3 years ago
Hello,I am having trouble with the "embeded code" and things like that on the poll and other capsule. I know how to create them and all that, but they don't turn out right in the end. I've read a ton of posts...
by Brandon Hart3 years ago
I like to add in-text links when I'm talking about certain products as I not only think they are some of the most effective, but also some of the most helpful. What I don't understand is why there is a limit of 2...
by Beth Eaglescliffe10 days ago
Is there any difference in the way search engines view subtitles versus callouts? i.e. does using one make it more likely than the other for your article to rank well?
by Sharilee Swaity5 years ago
I have a question for those of you who use Amazon in your hubs. Let's say that you are writing a hub with a list of different products. Do you think it's better to put all the amazon stuff at the bottom of the hub, all...
by brad4l7 years ago
Have you considered adding a capsule for displaying html, php, and other types of programming code?An example of this can be found on vBulletin sites, which usually have a [code] block and a [php] block. This doesn't...
by WriteAngled7 years ago
I've got an idea for my first hub and hope to start working on it in the next few days.If I were writing my hub as a straight article, I would probably end up with 7-8 sections and use subheadings for each one. Looking...
Copyright © 2017 HubPages Inc. and respective owners.
Other product and company names shown may be trademarks of their respective owners.
HubPages® is a registered Service Mark of HubPages, Inc.
HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, Google, and others.