"Mathematica" code for the "+" option.

  • Thread starter Thread starter aheight
  • Start date Start date
  • Tags Tags
    Code Mathematica
Click For Summary
The discussion centers on the desire to include a specific "Mathematica" option for code formatting in forum threads. Users note that while there are existing syntax highlighters for languages like PHP and HTML, Mathematica currently lacks this feature, resulting in an "unknown language" message. Participants express interest in having a dedicated heading for Mathematica code to enhance clarity and presentation. There is a direct inquiry to forum administrator Greg Bernhardt about the feasibility of adding this feature. The conversation highlights the need for improved support for Mathematica in online coding discussions.
aheight
Messages
318
Reaction score
108
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:
my mathematica code
 
Mathematics news on Phys.org
We have special code tags for PHP and HTML (including syntax highlighting), but I don't think we have something for mathematica.

PHP:
<?php echo 'Hello world!'; ?>

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

Code:
your mathematica code

(in general use [code=mathematica] for a syntax highlighting).

@Greg Bernhardt - is it something easy to add?
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 40 ·
2
Replies
40
Views
990
  • · Replies 6 ·
Replies
6
Views
4K