Group Abstract Group Abstract

Message Boards Message Boards

READ FIRST: How to post and use Wolfram Community


This is a quick tutorial to teach you how to use Wolfram Community in almost no time. Just a few minutes to read through will save you a lot of time and make your posts clear and beautiful. Please be kind and give back to Community by following these simple rules:

  • Read Wolfram Community Guidelines
  • This forum is about Wolfram Technologies. Demonstrating relevance of your posts to Wolfram Technologies, especially in the form of Wolfram Language code, is essential. For other subjects, including general science, post elsewhere.
  • Vote up good posts
  • Be gracious to others
  • Post and provide help in the area of your expertise
  • Pose your discussions and questions clearly and creatively
  • Check by searching first whether your question was already asked
  • Check Documentation for examples relevant to your issue
  • Do not bluntly solicit for help, show your own effort and solution in form of the Wolfram Language code
  • Do NOT use excessive CAPITAL letters in titles in posts.
  • Remember, your time and opinion are not more important than others

Wolfram Community provides the following essential features that we will overview:

  • Lightweight crystal clear post editor empowering you to post on the fly

  • Wolfram Language code formatting for easy copy-paste between Community and notebooks and lively syntax highlighting.

  • Images insertion anywhere in the post from the web or your computer, by drag and drop or browsing to a file.

  • Full mathematical notation for advanced formulas

  • File attachments for any format you can find in Wolfram Language Documentation

Now lets take a look at these in a bit of more detail.

Post Editor

Wolfram Community Editor uses Markdown Syntax with full documentation available here. While you typing your post help is always available at the top right corner. Editor has a clear simple but yet powerful and flexible functionality outlined on the diagram below:

enter image description here

The Editor consists of two parts: edit and preview eras. While you use plain text markup syntax described in the documentation the preview are shows you exactly how post will appear after you publish it.

enter image description here

Code Formatting

Proper code formatting is an essential part of posting. Only then can other member will be able to understand, copy and paste code between Community and notebooks. It is done in a very simple manner.

  1. Type code in the editor or simply paste it from for example Mathematica or Wolfram Cloud notebook.
  2. Select all code
  3. Press CMD+K on Mac or CTRL+K on Windows
  4. Alternatively press code button shown on the very first diagram

This is how a properly formatted code block should look like - note beautiful syntax highlighting:

info = WolframAlpha["weather", "PodInformation"];
ids = Rest[DeleteDuplicates[#[[1, 1, 1]] & /@ info]];
titles = Map[{{#, 0}, "Title"} &, ids] /. info;
contents = Column[Cases[info, _[{{#, _}, "Content"}, val_] :> val]] & /@ ids;
MenuView[Thread[titles -> contents], ImageSize -> Automatic]

Images insertion

To insert an image anywhere in the text press image button indicated on the main diagram above. Follow simple instructions. You have a choice to

  • Point to an image online by copying and pasting its URL in to the image up-loader form
  • Browse to an image on your computer
  • Drag and drop image from your computer

Please use only allowed image formats: .JPG, .PNG, .SVG, and .GIF. Images above 10MB will not be accepted. Files in format .GIF can be animated and we encourage their usage because they make your post very lively. Use the following tools for animated GIFs:

Mathematical Notation

Mathematical notation is enabled via MathJax. A very good tutorial can be found here: MathJax basic tutorial and quick reference. For Wolfram Language user it will be very easy to produce math formulas using built-in function TeXForm. For example code

TeXForm[Integrate[1/(1 - x^3), x]]

will produce output:

\frac{1}{6} \log \left(x^2+x+1\right)-\frac{1}{3} \log (1-x)+\frac{\tan^{-1}\left(\frac{2 x+1}{\sqrt{3}}\right)}{\sqrt{3}}

which when placed between $...$ (in-line) or $$...$$ (centered paragraph) will produce the following:

$$\frac{1}{6} \log \left(x^2+x+1\right)-\frac{1}{3} \log (1-x)+\frac{\tan^{-1}\left(\frac{2 x+1}{\sqrt{3}}\right)}{\sqrt{3}}$$

If you would like retain the original unevaluated expressions please use:

TeXForm[HoldForm[Integrate[1/(1 - x^3), x]]]

which when placed between $...$ (in-line) or $$...$$ (centered paragraph) will produce the following:

$$\int \frac{1}{1-x^3} \, dx$$

File Attachments

Files up to 10MB of any type found in Wolfram Language documentation can be attached to a post via the button at the bottom left corner of the Editor. Please attach only meaningful files - for example well structured and clear Mathematica notebooks or data. If images are not large it is better NOT use file attachments but insert images right in the text where appropriate to illustrate better the post content.

enter image description here

POSTED BY: Moderation Team
2 years ago

Having used both Mathematica.SE (which used this system from the start) and the previous editor on Community, I can say that this is a wonderful improvement!

I just have one suggestion for an improvement: the MarkDown source editor should really use a fixed width font. This is preferable for so many reasons: 1. spaces are very relevant in MarkDown, we need to indent with a specific number of spaces (the number also depending on whether we're in a bullet list) 2. code is always better edited with a fixed-width font (if there is't a complicated auto-formatting environment to help, such as the Mathematica front end)

POSTED BY: Szabolcs Horvat
2 years ago

How do i paste Mathematica code here that contains inline free form input box? The box that appears when i type in "Ctrl" + "=".


The below block of code is generated by clicking the code sample button in the editor and pasting it.

  GeoDisk[Entity["Building", "EmpireStateBuilding::h583b"], 
   10 Quantity[1, "Miles"]]], MeshFunctions -> {#3 &}, Mesh -> 40, 
 PlotRange -> All]

The below block of code is a screenshot. Example Screenshot of the code which contains inline freeform input box

Thank you in advance.

POSTED BY: Manjunath Babu
4 months ago

But you just did paste it already. It is just formatted as plain text and not orange box. Community editor is not a notebook, I do not see a problem with that.

POSTED BY: Sam Carrettie
4 months ago

I tried to copy in the Notebook contents on a posting reply I just made, but I could not get the preview to format correctly. Should it work as long as I use Ctrl-K?

Thanks in advance.

POSTED BY: Aeyoss Antelope
1 month ago

I tried to copy in the Notebook contents...

@Aeyoss Antelope, which "contents" exactly? - Notebook can have text, code, images, graphics, math typesetting, etc. Could you please be more descriptive in your questions. CTRL+K is intended for programing code. On the other hand, text can be typed or copied as it is, and images, for instance, need to use image uploader. But all this follows from the above tutorial.

POSTED BY: Moderation Team
1 month ago

OK..I thought people were pasting the entire Notebook contents then doing Ctrl-K...

Now I can see that people are only posting the input commands and not each result...when I posted the input commands..using Ctrl-K caused it to format correctly...

Thanks for your advice.

POSTED BY: Aeyoss Antelope
1 month ago