Recently I decided to write a tutorial about a certain topic involving Matlab coding but the code capsule which has been very useful to me in writing code snippets was Not supporting Matlab codes in the way it supports other languages like C++.
So Matlab support should also be added to the code capsule.
Matlab code can be directly written in text capsules. Matlab is a software not a programming language, so don't expect it to be added any time soon if at all it's added.
If Matlab functions are shown in different colors like in all other languages then it will make the code easy to understand .... lets see if I am able to figure out a way to emphasize the same in text capsule
If it's not really long code, you could place a screenshot from the matlab editor and below that the code in a regular text capsule in case people want to use it. They can easily understand the code from the image and copy from the capsule. That's the best I could think of as you can't change font colour.
Okay after I finish the Hub I will post the link here to see how it works.
by brad4l8 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 Paul Deeds8 years ago
We just released another update to the site a few minutes ago. The big changes are the addition of the code capsule, a redesign of the my account pages, and some small adjustments to Q&A (now called Answers on...
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 Peggy Woods6 years ago
I have been trying without success to get those specific products or even Amazon banners posted into some of my hubs. They say to highlight the code (which I do) and then paste it into the website. I have...
by simeonvisser6 years ago
Please have a look at my latest hub (http://hubpages.com/hub/HTML5-Tutorial- … nd-Effects) and then the first code capsule. A horizontal scrollbar is used but it shouldn't do that. The title element is now...
by Philip Cooper7 years ago
Can anyone tell where I can paste Amazon HTML code which serves as a link to an Amazon product please?
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.