Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefetch urls in background and insert "real" anchor links #543

Merged
merged 18 commits into from
Mar 11, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Align format with new octolinker api
  • Loading branch information
Stefan Buck committed Feb 8, 2019
commit c07da33431a4d954ead6389a4811449a477c8a8a
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Array [
exports[`normaliseResolverResults converts https://foosearch.org/ 1`] = `
Array [
Object {
"type": "external-link",
"url": "https://foosearch.org/",
"target": "https://foosearch.org/",
"type": "ping",
},
]
`;
4 changes: 2 additions & 2 deletions packages/helper-normalise-resolver-results/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const internal = url => {

// An external url like a documenation page
const external = url => ({
type: 'external-link',
url,
type: 'ping',
target: url,
});

// Async resolver
Expand Down