Highlighting with pillar (html)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Highlighting with pillar (html)

abergel
Hi!

I have the following script:

-=-=-=-=-=-=-=-=-=-=-=-=
Any objects may be provided in place of this array. For example:

[[[
g := RTGrapher new.

ds := RTData new.
ds points: 'What a beautiful day' substrings.
ds y: [ :aString | aString size ].
g add: ds.

g
]]]
-=-=-=-=-=-=-=-=-=-=-=-=

And it produces: 


Any idea where there is no syntax highlighting? In some other part of the document I go get syntax highlighting. 
How bizarre…

Alexandre
Reply | Threaded
Open this post in threaded view
|

Re: Highlighting with pillar (html)

philippeback
Is

[[[
lan­gua­ge=­Sma­lltalk
g := RTGrapher new.

ds := RTData new.
ds points: 'What a beautiful day' substrings.
ds y: [ :aString | aString size ].
g add: ds.

g
]]]

any better?

Phil

On Tue, Jun 6, 2017 at 9:19 AM, Alexandre Bergel <[hidden email]> wrote:
Hi!

I have the following script:

-=-=-=-=-=-=-=-=-=-=-=-=
Any objects may be provided in place of this array. For example:

[[[
g := RTGrapher new.

ds := RTData new.
ds points: 'What a beautiful day' substrings.
ds y: [ :aString | aString size ].
g add: ds.

g
]]]
-=-=-=-=-=-=-=-=-=-=-=-=

And it produces: 


Any idea where there is no syntax highlighting? In some other part of the document I go get syntax highlighting. 
How bizarre…

Alexandre

Reply | Threaded
Open this post in threaded view
|

Re: Highlighting with pillar (html)

abergel
Weir… same result. No highlight for me… :-(

Alexandre


> On Jun 6, 2017, at 3:58 AM, [hidden email] wrote:
>
> Is
>
> [[[lan­gua­ge=­Sma­lltalk
> g := RTGrapher new.
>
> ds := RTData new.
> ds points: 'What a beautiful day' substrings.
> ds y: [ :aString | aString size ].
> g add: ds.
>
> g
> ]]]
>
> any better?
>
> Phil
>
> On Tue, Jun 6, 2017 at 9:19 AM, Alexandre Bergel <[hidden email]> wrote:
> Hi!
>
> I have the following script:
>
> -=-=-=-=-=-=-=-=-=-=-=-=
> Any objects may be provided in place of this array. For example:
>
> [[[
> g := RTGrapher new.
>
> ds := RTData new.
> ds points: 'What a beautiful day' substrings.
> ds y: [ :aString | aString size ].
> g add: ds.
>
> g
> ]]]
> -=-=-=-=-=-=-=-=-=-=-=-=
>
> And it produces:
> <Screenshot 2017-06-06 03.06.06.png>
>
>
> Any idea where there is no syntax highlighting? In some other part of the document I go get syntax highlighting.
> How bizarre…
>
> Alexandre
>


Reply | Threaded
Open this post in threaded view
|

Re: Highlighting with pillar (html)

philippeback
Do you have like 2 blank lines before and after the [[['s ?

Phil

On Wed, Jun 7, 2017 at 11:15 AM, Alexandre Bergel <[hidden email]> wrote:
Weir… same result. No highlight for me… :-(

Alexandre


> On Jun 6, 2017, at 3:58 AM, [hidden email] wrote:
>
> Is
>
> [[[lan­gua­ge=­Sma­lltalk
>       g := RTGrapher new.
>
>       ds := RTData new.
>       ds points: 'What a beautiful day' substrings.
>       ds y: [ :aString | aString size ].
>       g add: ds.
>
>       g
> ]]]
>
> any better?
>
> Phil
>
> On Tue, Jun 6, 2017 at 9:19 AM, Alexandre Bergel <[hidden email]> wrote:
> Hi!
>
> I have the following script:
>
> -=-=-=-=-=-=-=-=-=-=-=-=
> Any objects may be provided in place of this array. For example:
>
> [[[
>       g := RTGrapher new.
>
>       ds := RTData new.
>       ds points: 'What a beautiful day' substrings.
>       ds y: [ :aString | aString size ].
>       g add: ds.
>
>       g
> ]]]
> -=-=-=-=-=-=-=-=-=-=-=-=
>
> And it produces:
> <Screenshot <a href="tel:2017-06-06%2003" value="+12017060603">2017-06-06 03.06.06.png>
>
>
> Any idea where there is no syntax highlighting? In some other part of the document I go get syntax highlighting.
> How bizarre…
>
> Alexandre
>



Reply | Threaded
Open this post in threaded view
|

Re: Highlighting with pillar (html)

Damien Pollet
Check the HTML source. I'd bet the highlighting is there as spans and classes, but you don't have a matching stylesheet.

On 7 June 2017 at 11:29, [hidden email] <[hidden email]> wrote:
Do you have like 2 blank lines before and after the [[['s ?

Phil

On Wed, Jun 7, 2017 at 11:15 AM, Alexandre Bergel <[hidden email]> wrote:
Weir… same result. No highlight for me… :-(

Alexandre


> On Jun 6, 2017, at 3:58 AM, [hidden email] wrote:
>
> Is
>
> [[[lan­gua­ge=­Sma­lltalk
>       g := RTGrapher new.
>
>       ds := RTData new.
>       ds points: 'What a beautiful day' substrings.
>       ds y: [ :aString | aString size ].
>       g add: ds.
>
>       g
> ]]]
>
> any better?
>
> Phil
>
> On Tue, Jun 6, 2017 at 9:19 AM, Alexandre Bergel <[hidden email]> wrote:
> Hi!
>
> I have the following script:
>
> -=-=-=-=-=-=-=-=-=-=-=-=
> Any objects may be provided in place of this array. For example:
>
> [[[
>       g := RTGrapher new.
>
>       ds := RTData new.
>       ds points: 'What a beautiful day' substrings.
>       ds y: [ :aString | aString size ].
>       g add: ds.
>
>       g
> ]]]
> -=-=-=-=-=-=-=-=-=-=-=-=
>
> And it produces:
> <Screenshot <a href="tel:2017-06-06%2003" value="+12017060603" target="_blank">2017-06-06 03.06.06.png>
>
>
> Any idea where there is no syntax highlighting? In some other part of the document I go get syntax highlighting.
> How bizarre…
>
> Alexandre
>






--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet