visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
438 stars 116 forks source link

Sim V1 code still in repo. #19826

Open biagas opened 2 months ago

biagas commented 2 months ago

Is your feature request related to a problem?

While working on #19825, I noticed some sim code that appears to be for V1 of libsim. I was looking for examples on using strip charts, and came across

src/sim/examples, src/sim/V2/lib/SimHelperFunc.h, and src/sim/V2/lib/SimHelperFunc.c

SimHelperFunc is utilized only by the example code in sim/examples, and that example source code includes V1 headers and calls functions not in V2.

Can/Should these code files be removed?

markcmiller86 commented 1 month ago

@biagas GFM has no options for coloring text. I thought you might be able to if you fell back to raw html as in...<span style="color: red;">This text is red.</span> but that doesn't work.

A hackish way is to take advantage of GFM's latex support and do this...

$${\color{red}Welcome \space \color{lightblue}To \space \color{orange}Stackoverflow}$$

which produces...

$${\color{red}Welcome \space \color{lightblue}To \space \color{orange}Stackoverflow}$$

And it sort of works inline too as in $${\color{red}this\ is\ some\ text\ I\ put\ in\ red.}$$ But you have to bacspace all the spaces for that too.