Compodoc: [FEATURE] custom treatment of the metadata field `template`

Created on 29 Mar 2017  路  14Comments  路  Source: compodoc/compodoc

Overview of the issue

the metadata field template is treated as every other metadata field and is not syntax highlighted

Motivation for or Use Case

It would be clearer, if the template field would be syntax highlighted, like source or example.

Suggest a Fix

introduce special treatment for the metadata field template and add syntax highlighting to it.

Bug

Most helpful comment

End of this week, or at the beginning of next week ;)

All 14 comments

Ok i will fix that.

There will be a template tab in v1.0.0 for better reading.

localhost-8080-components-homecomponent html ipad 1

Really nice! Do you have a (approx) schedule for v1.0.0?

End of this week, or at the beginning of next week ;)

Wow, many many thanks!

Thanks. Waiting for the new release :)

Available in beta.3

I've got beta.4 and it just doesn't work. Am I missing something?

@sclausen what is wrong for you ? you do not have a template tab ?

Yes, its just as if this feature is not in beta.4 :confused:

This link for the official demo works fine :
https://compodoc.github.io/compodoc-demo-todomvc-angular/components/AboutComponent.html#template

The repo used beta.4

Oh I see, we've been writing at cross purposes. You have a templateUrl field, and see the template tab, but my issue above is about the template field.

Ok sorry, i was thinking i had merge templateUrl or template metadata in this tab. I have just tested locally, and i am wrong.
I fix that asap.
Regards

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DimitriRO-IBM picture DimitriRO-IBM  路  15Comments

realappie picture realappie  路  33Comments

carlobonamico picture carlobonamico  路  28Comments

jongunter picture jongunter  路  25Comments

pborregg picture pborregg  路  38Comments