Skip to content

Removing '$ ' from each line of input before executing code blocks#13

Open
jonocodes wants to merge 1 commit intoplay-with-docker:masterfrom
jonocodes:remove-bash-prompt
Open

Removing '$ ' from each line of input before executing code blocks#13
jonocodes wants to merge 1 commit intoplay-with-docker:masterfrom
jonocodes:remove-bash-prompt

Conversation

@jonocodes
Copy link
Copy Markdown
Contributor

@jonocodes jonocodes commented Oct 16, 2017

To address #11

This does not take care of the root user case which starts lines with '# ' since I thought those might get confused with shell comments.

Here is the input markdown I used to try with it.

$ echo hello 1
$echo hello 2
 $  echo hello 3
$ echo line 1
$ echo line 2
 $ echo line 3
  $ echo line 4
 $  echo line 5
echo line 6

Signed-off-by: Jono <jono@foodnotblogs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant