* How to check error during syntax highlighting
@ 2018-12-24 9:37 katsuya.horiuchi.biz
2018-12-24 18:02 ` john
0 siblings, 1 reply; 2+ messages in thread
From: katsuya.horiuchi.biz @ 2018-12-24 9:37 UTC (permalink / raw)
Hello,
I have been playing with filters, specifically syntax-highlighting.py,
in order to render markdown in tree.
However, I would see empty output when something goes wrong.
Is it possible to check error during syntax highlighting (i.e. take log)?
Thanks for help in advance.
Best,
Katsuya Horiuchi
^ permalink raw reply [flat|nested] 2+ messages in thread
* How to check error during syntax highlighting
2018-12-24 9:37 How to check error during syntax highlighting katsuya.horiuchi.biz
@ 2018-12-24 18:02 ` john
0 siblings, 0 replies; 2+ messages in thread
From: john @ 2018-12-24 18:02 UTC (permalink / raw)
On Mon, Dec 24, 2018 at 06:37:12PM +0900, Katsuya Horiuchi wrote:
> I have been playing with filters, specifically syntax-highlighting.py,
> in order to render markdown in tree.
> However, I would see empty output when something goes wrong.
>
> Is it possible to check error during syntax highlighting (i.e. take log)?
The filter's stderr stream may appear in the web server's log file.
I use a small Python program for experimenting with CGit, which will
forward stderr from the filter:
https://github.com/johnkeeping/git-instacgit
You can also simply run CGit in a terminal with a couple of environment
variables set, although this is not the most straightforward mechanism
to set up. See cgit_url() in tests/setup.sh for an example of this.
Regards,
John
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-24 18:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-24 9:37 How to check error during syntax highlighting katsuya.horiuchi.biz
2018-12-24 18:02 ` john
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).