Allow syntax on @example #54

Closed
HugoGiraudel opened this Issue Jul 7, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@HugoGiraudel
Member

HugoGiraudel commented Jul 7, 2014

Current:

/**
 * @example
 * first(a b c)
 * // a
 */

I would like to have:

/**
 * @example scss
 * first(a b c)
 * // a
 */

So that we can set different syntax for Prism.js in the generated docs, with scss as a fallback.

@FWeinb

This comment has been minimized.

Show comment
Hide comment
@FWeinb

FWeinb Jul 7, 2014

Member

I will takle this issue now.

Member

FWeinb commented Jul 7, 2014

I will takle this issue now.

@FWeinb FWeinb self-assigned this Jul 7, 2014

@FWeinb

This comment has been minimized.

Show comment
Hide comment
@FWeinb

FWeinb Jul 7, 2014

Member

This would be easer to parse:

/**
 * @example `scss`
 * first(a b c)
 * // a
 */
Member

FWeinb commented Jul 7, 2014

This would be easer to parse:

/**
 * @example `scss`
 * first(a b c)
 * // a
 */

@HugoGiraudel HugoGiraudel added 1.0 and removed 1.1 labels Jul 7, 2014

@HugoGiraudel

This comment has been minimized.

Show comment
Hide comment
@HugoGiraudel

HugoGiraudel Jul 7, 2014

Member

Done. Will be live in rc-12.

Member

HugoGiraudel commented Jul 7, 2014

Done. Will be live in rc-12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment