Skip to content
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

Deal with basic subset of LaTex to extend markdown #13

Closed
tlienart opened this issue Jun 18, 2018 · 2 comments
Closed

Deal with basic subset of LaTex to extend markdown #13

tlienart opened this issue Jun 18, 2018 · 2 comments
Labels

Comments

@tlienart
Copy link
Owner

see also #5

should be able to deal with

\newcommand{...}[...]{...}

for basic replacement commands etc.

@tlienart
Copy link
Owner Author

Basic solution to capture definition of commands in a0df2ac note

  • now have a Dict with \\comname => (narg => def)

Todo

  • would be better to have a latex type instead of a pair, and form a function out of it that would directly be the appropriate replacement + also the search regex...
  • maybe we could allow dropping the [ 5 ] and just retrieve the number by the # but bug if the order of # is mishandled or something

@tlienart tlienart added the latex label Jun 21, 2018
@tlienart
Copy link
Owner Author

now MWP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant