This gave me the idea to have Leo Vue be able to outline a page by pointing 
to it.

HTML5 has an outline spec, and there is an npm module for it, so this 
seemed like a fairly straightforward task. Turns out there aren't many 
pages that support the spec. Wikipedia supports the HTML4 spec, but it 
required a few hacks to get it to work.

Example:
https://kaleguy.github.io/leovue/#/t/44/

Leo Vue now supports named nodes, so you can also write:
https://kaleguy.github.io/leovue/#/t/Dinosaur

It is also possible to set up a copy of Leo Vue to take the target as a 
parameter:
https://kaleguy.github.io/leo-examples/outliner/?outlineUrl=https://en.wikipedia.org/wiki/Dinosaur&outlineTitle=Dinosaur
 
 
So you can put any outlineUrl and title as params in the url above and it 
will attempt to outline it.

These pages make testing a target a bit easier:
https://kaleguy.github.io/leo-examples/outliner/outline-wikipedia.html
https://kaleguy.github.io/leo-examples/outliner/outline-page.html

I didn't yet find any other good candidates for outlining besides Wikipedia 
though.

Dictionary.com doesn't work, but there is wiktionary.com:
https://kaleguy.github.io/leo-examples/outliner/?outlineUrl=https://www.wiktionary.org/wiki/test
or
https://kaleguy.github.io/leo-examples/outliner/?outlineUrl=https://www.wiktionary.org/wiki/test&path=English~Noun

Joe

On Saturday, March 3, 2018 at 2:18:55 AM UTC-5, Edward K. Ream wrote:
>
>
>
> On Fri, Mar 2, 2018 at 9:15 PM, Matt Wilkie <[email protected] 
> <javascript:>> wrote:
>
>>
>> #771 Support --outline-only command-line argument 
>>> <https://github.com/leo-editor/leo-editor/issues/771> is a new issue 
>>> that would skip this pass entirely.
>>>
>>> I shall do this only if you actually need it.
>>>
>>
>> I don't need it, not right now. I have my hands full with other things. 
>> Mostly the intent of the post was to document and share an idea, so I could 
>> stop thinking about it and do other things, with the hopeful self-promise 
>> that I'd come back to it someday when I do have time.
>>
>
> ​That's fine.  There is no milestone attached to this item.
>
> Edward
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to