New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible LaTeX syntax #6650
Comments
Originally we used the standard syntax, however there were too many false positives with dollar signs in paragraphs being detected and converted to Latex blocks. Once #3000 is resolved we should be able to move back to the standard syntax as it would only be parsed on import/export instead of every render as it is today |
Thanks for your reply. I agree with the refactoring of #3000, which will allow Outline to extend its functionality even more. In the case of pasting markdown source into an editor, due to Outline's history and the fact that it has defined trigger symbols for many syntaxes that are different from markdown, it's understandable that it won't be automatically recognized as markdown when pasting because the editor is not a markdown editor semantically. We should be responsible for converting |
To Reproduce
Steps to reproduce the behavior:
$
for inline,$$
for block) to render.Expected behavior
use
$
for inline,$$
for block. This is the widely used LaTeX syntax. Please DO NOT use custom syntax like$$
or$$$
, which is not compatible.Outline's custom syntax is not recognized by most other markdown editors when copying from other editors or pre-existing markdown documents for import, or export to markdown. This caused a lot of problems for us.
The biggest issues at hand are:
$$
and$$$
to get a superficially acceptable rendering, when exporting as markdown and distributing it on other platforms, the exported markdown still retains the$$
and$$$
, which cannot render correctly on other platforms.Outline (please complete the following information):
Expected solution
Deprecate the custom syntax and use the general
$
/$$
to render LaTeX, including typing, copying and pasting, importing documents and exporting to markdown.Test cases
Wrong render result: copy and paste to Outline
Correct result: from popular markdown editors like Typora
Another correct result: GitHub's built-in markdown renderer
Inline
Block
The text was updated successfully, but these errors were encountered: