Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Suggestion "Mathematica" code for the "+" option.

  1. Jan 8, 2017 #1
    Sometimes I include Mathematica code. Is is possible to include this option when including code in the thread for the language option? For example, would be nice to have a heading as "Mathematica" in the following code insert rather than "text":

    Code (Text):
    my mathematica code
  2. jcsd
  3. Jan 8, 2017 #2


    User Avatar
    2017 Award

    Staff: Mentor

    We have special code tags for PHP and HTML (including syntax highlighting), but I don't think we have something for mathematica.

    <?php echo 'Hello world!'; ?>
    BB code help
  4. Jan 8, 2017 #3


    User Avatar

    Staff: Mentor

    No syntax highlighter for mathematica yet, you will get an "unknown language" message:

    Code ( (Unknown Language)):
    your mathematica code
    (in general use [code=mathematica] for a syntax highlighting).

    @Greg Bernhardt - is it something easy to add?
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted