Re: Using text properties to show rendered documents

2019-06-09 Fir de Conversatie Paul Jolly
> The obvious typo, surely :setf markdown?

Possibly, but I'm looking for the _rendered_ form of a markdown file,
i.e. the file contents minus the markdown, with some Vim
interpretation of the markdown in the form of syntax highlighting.
i.e.

*test*

results in

test

but rendered in italics.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CACoUkn7GuKbLv8OSYkPWK6d0eQpd5CFMxyF6zJZ8FnDC7Ry9OQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using text properties to show rendered documents

2019-06-08 Fir de Conversatie John Little
On Sunday, June 9, 2019 at 3:20:23 AM UTC+12, Paul Jolly wrote:
> > Why not just use :self markdown. and a markdown syntax file?
> 
> Apologies, I'm probably missing something obvious here; but what is
> the :self command?

The obvious typo, surely :setf markdown?

regards, John Little

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/b67f5deb-d4f7-43fc-bb4d-5cc179176db1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using text properties to show rendered documents

2019-06-08 Fir de Conversatie Paul Jolly
> Why not just use :self markdown. and a markdown syntax file?

Apologies, I'm probably missing something obvious here; but what is
the :self command?

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CACoUkn75Y%3DwJ_G2fjwqRb3vvfTcQUK10H5rqnkpvbrj%2Bw_rwcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Using text properties to show rendered documents

2019-06-08 Fir de Conversatie Ben Jackson
On Thursday, June 6, 2019 at 3:57:41 PM UTC+1, Paul Jolly wrote:
> Hi all,
> 
> I'm somewhat/extremely behind on the text properties work, which looks
> very exciting.
> 
> In the context of govim (https://github.com/myitcv/govim), I'm
> considering using text properties as a way of showing a simple
> rendering of markdown/HTML within a Vim window (popup to be precise).
> 
> Rendering the document with text properties from the parsed
> markdown/HTML should be relatively doable, but before I start down
> this path, does anyone have any thoughts on this approach vs others?
> 
> Many thanks,
> 
> 
> Paul

Why not just use :self markdown. and a markdown syntax file?

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/497f5735-97de-4273-8af1-2b5d6485c1bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Using text properties to show rendered documents

2019-06-06 Fir de Conversatie Paul Jolly
Hi all,

I'm somewhat/extremely behind on the text properties work, which looks
very exciting.

In the context of govim (https://github.com/myitcv/govim), I'm
considering using text properties as a way of showing a simple
rendering of markdown/HTML within a Vim window (popup to be precise).

Rendering the document with text properties from the parsed
markdown/HTML should be relatively doable, but before I start down
this path, does anyone have any thoughts on this approach vs others?

Many thanks,


Paul

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CACoUkn7pjUhHGz-aKDJyXDVN1vO66fMDdUweZCpB-2gPvYBAVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.