Here is a test of the WP-GeSHi-Highlight plugin. It’s great, but I don’t like how the line numbering feature works:
clc
clear
maxpow = 5;
tic
for r = 10 .^ [1:maxpow]
pts = arcwalk(r);
s = length(pts);
fprintf('For radius %d, pi is about %f\n', r, 2*s/r)
end
toc
The lines are spaced too far apart, only the last digit shows, and the little periods are not helpful. Also, it would be nice to have a way to select just the code without the line numbers. I think GeSHi is able to do this. Is there a way to make the plugin do this too?
Thanks!