[MlMt] Syntax highlighting wraps everything on one line

Adam Liter adam.liter at gmail.com
Mon Mar 28 13:15:46 EDT 2016


Hi Kee and David,

Thanks for your responses. Kee, how do you switch to the builtin 
markdown processor?

And David, that's interesting because I more or less followed those same 
instructions.

The only difference is that I installed `pygments` with `pip` rather 
than with `easy_install`.

Here's a picture of what I see:

![](cid:41550D23-5CA5-4A20-AD26-297F5C287B00 at gmail.com 
"PastedImage.png")

What version of Pygments do you have? I have 2.1.3.

You can check with:

     python -c "import pygments; print pygments.__version__"

Thanks!

-Adam

On 28 Mar 2016, at 13:05, David Green wrote:

> Renders correctly for me (including what you sent included here as 
> image):
>
> ![](cid:30FD931D-9416-4FE7-9248-CCFB3D4BAD4A at gmail.com 
> "_MlMt__Syntax_highlighting_wraps_everything_on_one_line_—_Inbox__89_messages_.png")
>
> I have things configured to use markdown for new messages and replies. 
>  I think I used this
>
> https://freron.lighthouseapp.com/projects/58672/tickets/1066-syntax-highlighting-for-code-regions 
> as setup advice.
>
> Dave
>
> On 28 Mar 2016, at 9:39, Adam Liter wrote:
>
>> Hi,
>>
>> I think the code styling feature that was introduced 
>> [here](https://lists.freron.com/mailmate/2015-August/004701.html) is 
>> still experimental, but I was just wondering if anyone else was 
>> having this same problem. Whenever I try to use syntax highlighting, 
>> everything is wrapped onto one line.
>>
>> For example, if I type:
>>
>> 	```bash
>> 	
>> 	if [ -f $HOME/.profile ]; then
>> 		source $HOME/.profile
>> 	fi
>> 	
>> 	
>> 	if [ -f $HOME/.bashrc ]; then
>> 		source $HOME/.bashrc
>> 	fi
>>
>> 	```
>>
>> Then I get the following (with everything on one line):
>>
>> ```bash
>>
>> if [ -f $HOME/.profile ]; then
>> 	source $HOME/.profile
>> fi
>>
>>
>> if [ -f $HOME/.bashrc ]; then
>> 	source $HOME/.bashrc
>> fi
>>
>> ```
>>
>> Is anyone else having this problem?
>>
>> Thanks!
>>
>> -Adam Liter_______________________________________________
>> mailmate mailing list
>> mailmate at lists.freron.com
>> https://lists.freron.com/listinfo/mailmate
> _______________________________________________
> mailmate mailing list
> mailmate at lists.freron.com
> https://lists.freron.com/listinfo/mailmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20160328/97a3cf00/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-03-28 at 1.11.16 PM.png
Type: image/png
Size: 28519 bytes
Desc: not available
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20160328/97a3cf00/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedImage.png
Type: image/png
Size: 27151 bytes
Desc: not available
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20160328/97a3cf00/attachment-0003.png>


More information about the mailmate mailing list