* Details on links
@ 2020-12-15 8:23 Denis Bitouzé
[not found] ` <87czzbwk8p.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Denis Bitouzé @ 2020-12-15 8:23 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Hi,
--8<---------------cut here---------------start------------->8---
pandoc -f markdown -t native <<< [Pandoc](https://pandoc.org/)
--8<---------------cut here---------------end--------------->8---
returns:
┌────
│ [Para [Link ("",[],[]) [Str "Pandoc"] ("https://pandoc.org/","")]]
└────
Could you explain the point of the first element `("",[],[])` of this
Link element?
Thanks!
--
Denis
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/87czzbwk8p.fsf%40example.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Details on links
[not found] ` <87czzbwk8p.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
@ 2020-12-15 14:50 ` Albert Krewinkel
[not found] ` <87eejrqg1f.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Albert Krewinkel @ 2020-12-15 14:50 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Denis Bitouzé writes:
> --8<---------------cut here---------------start------------->8---
> pandoc -f markdown -t native <<< [Pandoc](https://pandoc.org/)
> --8<---------------cut here---------------end--------------->8---
>
> returns:
>
> ┌────
> │ [Para [Link ("",[],[]) [Str "Pandoc"] ("https://pandoc.org/","")]]
> └────
>
> Could you explain the point of the first element `("",[],[])` of this
> Link element?
The triple specifies the link's attributes consisting of the ID, list of
classes, and list of key-value pairs.
The Haskell type documentation can be helpful when exploring the native
representation:
https://hackage.haskell.org/package/pandoc-types-1.22/docs/Text-Pandoc-Definition.html#v:Link
Cheers!
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/87eejrqg1f.fsf%40zeitkraut.de.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [SOCIAL]Re: Details on links
[not found] ` <87eejrqg1f.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
@ 2020-12-15 15:02 ` Denis Bitouzé
[not found] ` <87a6ufun7j.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Denis Bitouzé @ 2020-12-15 15:02 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Le 15/12/20 à 15h50, Albert Krewinkel a écrit :
> Denis Bitouzé writes:
>
>> --8<---------------cut here---------------start------------->8---
>> pandoc -f markdown -t native <<< [Pandoc](https://pandoc.org/)
>> --8<---------------cut here---------------end--------------->8---
>>
>> returns:
>>
>> ┌────
>> │ [Para [Link ("",[],[]) [Str "Pandoc"] ("https://pandoc.org/","")]]
>> └────
>>
>> Could you explain the point of the first element `("",[],[])` of this
>> Link element?
>
> The triple specifies the link's attributes consisting of the ID, list of
> classes, and list of key-value pairs.
>
> The Haskell type documentation can be helpful when exploring the native
> representation:
> https://hackage.haskell.org/package/pandoc-types-1.22/docs/Text-Pandoc-Definition.html#v:Link
Thanks! But this documentation is still unclear for me: I don't see any
"ID", "list of class" or "list of key-value pairs" (which ones
BTW?). I just see:
┌────
│ Link Attr [Inline] Target
└────
And what would be a, say, Mardown link for which this triple wouldn't be
empty?
Cheers!
--
Denis
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/87a6ufun7j.fsf%40example.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [SOCIAL]Re: Details on links
[not found] ` <87a6ufun7j.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
@ 2020-12-15 17:45 ` Albert Krewinkel
0 siblings, 0 replies; 4+ messages in thread
From: Albert Krewinkel @ 2020-12-15 17:45 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
Denis Bitouzé writes:
> Le 15/12/20 à 15h50, Albert Krewinkel a écrit :
>
>> Denis Bitouzé writes:
>>
>>> --8<---------------cut here---------------start------------->8---
>>> pandoc -f markdown -t native <<< [Pandoc](https://pandoc.org/)
>>> --8<---------------cut here---------------end--------------->8---
>>>
>>> returns:
>>>
>>> ┌────
>>> │ [Para [Link ("",[],[]) [Str "Pandoc"] ("https://pandoc.org/","")]]
>>> └────
>>>
>>> Could you explain the point of the first element `("",[],[])` of this
>>> Link element?
>>
>> The triple specifies the link's attributes consisting of the ID, list of
>> classes, and list of key-value pairs.
>>
>> The Haskell type documentation can be helpful when exploring the native
>> representation:
>> https://hackage.haskell.org/package/pandoc-types-1.22/docs/Text-Pandoc-Definition.html#v:Link
>
> Thanks! But this documentation is still unclear for me: I don't see any
> "ID", "list of class" or "list of key-value pairs" (which ones
> BTW?). I just see:
>
> ┌────
> │ Link Attr [Inline] Target
> └────
Attr, Inline, and Target are clickable. You can get additional info by
following these links.
> And what would be a, say, Mardown link for which this triple wouldn't be
> empty?
```markdown
[Document converter](https://pandoc.org "pandoc website"){#pandoc_link
.important foo=bar}
```
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/87blevq7yt.fsf%40zeitkraut.de.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-15 17:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 8:23 Details on links Denis Bitouzé
[not found] ` <87czzbwk8p.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
2020-12-15 14:50 ` Albert Krewinkel
[not found] ` <87eejrqg1f.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2020-12-15 15:02 ` [SOCIAL]Re: " Denis Bitouzé
[not found] ` <87a6ufun7j.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
2020-12-15 17:45 ` Albert Krewinkel
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).