Using escapeinside in minted with a single character that is used for escaping
up vote
0
down vote
favorite
(sorry for the confusing title)
I am trying to use minted
to import a single Haskell code snippet that contains:
data Bool = True | False
By using
inputminted[escapeinside=||]{haskell}{snippet.hs}
Unfortunately, because of escapeinside=||
, it ends up rendered like:
I have several snippets where I inline math notation, so I need to use escapeinside
. I could switch it to another character (e.g. @
), but it causes the same issue when @
is used.
How can I leave this single vertical bar as-is?
minted pygments
add a comment |
up vote
0
down vote
favorite
(sorry for the confusing title)
I am trying to use minted
to import a single Haskell code snippet that contains:
data Bool = True | False
By using
inputminted[escapeinside=||]{haskell}{snippet.hs}
Unfortunately, because of escapeinside=||
, it ends up rendered like:
I have several snippets where I inline math notation, so I need to use escapeinside
. I could switch it to another character (e.g. @
), but it causes the same issue when @
is used.
How can I leave this single vertical bar as-is?
minted pygments
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
(sorry for the confusing title)
I am trying to use minted
to import a single Haskell code snippet that contains:
data Bool = True | False
By using
inputminted[escapeinside=||]{haskell}{snippet.hs}
Unfortunately, because of escapeinside=||
, it ends up rendered like:
I have several snippets where I inline math notation, so I need to use escapeinside
. I could switch it to another character (e.g. @
), but it causes the same issue when @
is used.
How can I leave this single vertical bar as-is?
minted pygments
(sorry for the confusing title)
I am trying to use minted
to import a single Haskell code snippet that contains:
data Bool = True | False
By using
inputminted[escapeinside=||]{haskell}{snippet.hs}
Unfortunately, because of escapeinside=||
, it ends up rendered like:
I have several snippets where I inline math notation, so I need to use escapeinside
. I could switch it to another character (e.g. @
), but it causes the same issue when @
is used.
How can I leave this single vertical bar as-is?
minted pygments
minted pygments
asked yesterday
Igal Tabachnik
17418
17418
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461484%2fusing-escapeinside-in-minted-with-a-single-character-that-is-used-for-escaping%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown