This website requires JavaScript.
Explore
Help
Sign in
Tissevert
/
pandoc
Watch
1
Star
0
Fork
You've already forked pandoc
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
1
876859f9e9
pandoc
/
test
/
command
/
latex-command-comment.md
8 lines
82 B
Markdown
Raw
Normal View
History
Unescape
Escape
LaTeX reader: handle `%` comment right after command. For example \emph% {hi}
2017-10-31 19:30:56 +01:00
```
Add missing `%` on command tests. This prevented `--accept` from working properly.
2021-09-21 19:16:45 +02:00
% pandoc -f latex -t native
LaTeX reader: handle `%` comment right after command. For example \emph% {hi}
2017-10-31 19:30:56 +01:00
\emph%
{hi}
^D
Use pretty-simple to format native output. Previously we used our own homespun formatting. But this produces over-long lines that aren't ideal for diffs in tests. Easier to use something off-the-shelf and standard. Closes #7580. Performance is slower by about a factor of 10, but this isn't really a problem because native isn't suitable as a serialization format. (For serialization you should use json, because the reader is so much faster than native.)
2021-09-19 21:09:51 +02:00
[ Para [ Emph [ Str "hi" ] ] ]
LaTeX reader: handle `%` comment right after command. For example \emph% {hi}
2017-10-31 19:30:56 +01:00
```
Reference in a new issue
Copy permalink