Skip to content

Add back links and refer to MDN. FIx #12 #69

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

Merged
merged 3 commits into from
Aug 23, 2019
Merged

Add back links and refer to MDN. FIx #12 #69

merged 3 commits into from
Aug 23, 2019

Conversation

octref
Copy link
Contributor

@octref octref commented Aug 20, 2019

No description provided.

description: a.description,
valueSet: a.valueSet
});
attributes.push({ ...a });
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to provide a clone?

* Generate MarkupContent used in hover/complete
* From `documentation` and `references`
*/
export function generateMarkupcontent(item: ITagData | IAttributeData | IValueData): MarkupContent {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO it would make sense to have the 'supportMarkdown' flag passed in here so that the content can be streamlined also for clients that can't handle markdown. E.g. You would then just add the links as is.

Then you don't need an extra step to convert the hover afterwards

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe find a better name generateDocumentation(..) ?

@octref octref merged commit e65ce1e into master Aug 23, 2019
@aeschli aeschli added this to the August 2019 milestone Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants