You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pretty sure I tried that and it didn't work, and when I complained, I was told to use <table> markup. :-)
There is a bug about supporting that: #1453
BTW, dartdoc definitely doesn't follow that spec, at least not exclusively. In particular, hyperlinks to members aren't a syntax covered by that spec as far as I can tell. Nor are macros.
Yeah I guess custom link resolvers are a customization. We just allow shortcut reference links without a link reference definition, which then gets sent to a link resolver to answer "this might be a link. do you think it's a link? where should it point to?"
Activity
srawlins commentedon Jul 11, 2017
The dartdoc package uses package:markdown, which mostly supports GitHub-flavored Markdown tables. Are these enabled in dartdocs?
srawlins commentedon Jul 11, 2017
@Hixie , I don't understand. I don't see a
#fragment in your URL that you link...Hixie commentedon Jul 11, 2017
@srawlins I literally meant "HTML fragment", as in, a fragment of HTML, not URL fragment identifiers.
The source for the above is at: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/framework.dart#L2557
srawlins commentedon Jul 11, 2017
Oh sorry. That's not part of the Markdown spec. You'll notice the backticks aren't converted to
<code>either.If you use the GFM markdown syntax, it might work.
Hixie commentedon Jul 11, 2017
What does that mean? :-)
Hixie commentedon Jul 11, 2017
Also, what markdown spec?
srawlins commentedon Jul 11, 2017
The markdown package tries to follow the CommonMark spec, or, if you use
ExtensionSet.gitHub(which I think dartdocs does... or at least should), the GFM spec.In this case, using GFM tables:
Hixie commentedon Jul 11, 2017
Pretty sure I tried that and it didn't work, and when I complained, I was told to use
<table>markup. :-)There is a bug about supporting that: #1453
BTW, dartdoc definitely doesn't follow that spec, at least not exclusively. In particular, hyperlinks to members aren't a syntax covered by that spec as far as I can tell. Nor are macros.
srawlins commentedon Jul 11, 2017
OK good, so there is a known issue.
Yeah I guess custom link resolvers are a customization. We just allow shortcut reference links without a link reference definition, which then gets sent to a link resolver to answer "this might be a link. do you think it's a link? where should it point to?"