Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Meta

Welcome to the staging ground for new communities! Each proposal has a description in the "Descriptions" category and a body of questions and answers in "Incubator Q&A". You can ask questions (and get answers, we hope!) right away, and start new proposals.

Are you here to participate in a specific proposal? Click on the proposal tag (with the dark outline) to see only posts about that proposal and not all of the others that are in progress. Tags are at the bottom of each post.

Comments on Should proposals all have MathJax or none have MathJax?

Post

Should proposals all have MathJax or none have MathJax?

+5
−0

Some Codidact communities have MathJax enabled, while others do not. Each community decides whether they want MathJax based on weighing up the advantages and disadvantages.

However, Codidact Proposals has to make this decision once for all proposed communities. Currently MathJax is switched on for all proposals. This causes problems for some communities, most notably those that have reason to use the dollar sign ($), such as Finance and Accounting. This could be solved by switching off MathJax, but that would remove it for all the other proposals, some of which get significant benefit from it, such as Machine Learning, AI Tech, and Artificial Life.

The difficulties caused when trying to use more than one literal dollar sign ($) in a post are highlighted by an example post on the development server. A single dollar sign in a post is displayed as a dollar sign, but a second dollar sign later in the same paragraph will result in everything between the two being interpreted as MathJax (dollar signs disappear, text between is displayed in a different font, in italics, with all spaces stripped out). This can be suppressed with a double backslash before the first dollar sign, but most users will not know that, especially for a community that does not use MathJax. Worse, when there are more than two dollar signs in a paragraph, each needs a different number of backslashes to suppress MathJax, with no apparent pattern (see the example post linked at the start of this paragraph).

How should we resolve this problem?

  • Switch off MathJax for all proposals?
  • Keep MathJax for all proposals and accept the difficulty?
  • Introduce guidance for communities that have MathJax enabled (including Codidact Proposals)?
  • Implement a fix so that MathJax no longer behaves so unpredictably with multiple dollar signs in a paragraph?

Are there any other options? Is there a way to enable MathJax only for certain proposal tags?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

mattermost as reference (1 comment)
mattermost as reference
mr Tsjolder‭ wrote over 1 year ago

I have had pretty good experiences with the markdown parsing from mattermost. There might be edge cases, but they seem to be able to distinguish between dollar signs used for mathjax and as currency symbol.