This repository has been archived by the owner on May 11, 2021. It is now read-only.
Add workspace (tex-pad?) to all exercises #118055
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
tldr: A instantly parsing textarea. Go to this sandcastle and click on "Show workspace" at the bottom of the page.
This is just a proof of concept as an alternative to the scratchpad. It adds the link "Show workspace" at the bottom of the page alongside "Show scratchpad". When clicked, it produces textarea that takes up half the width of the screen, which upon input, parses that input and displays the parsed tex on the other half of the screen. Atm, it defaults to the pseudo-tex that the
expression
answer-type reads in and feeds to KAS. It also provides a "Switch to tex" option, which is far less limited, but you need to know tex, and end each line with\\
. The provided version has multiline support in the pseudo-tex format (adds the\\
for you). There are definitely issues (for example, KAS can parse1=1
but can't parse1=1=1
or3|x|
), but they can be fixed if you (collective) think this is worth pursuing.As a rationale,