Skip to content

Commit

Permalink
fix (#1): Switch to HTML after @zeplin/cli fix for Prism parsing
Browse files Browse the repository at this point in the history
jackkoppa committed Jan 6, 2020
1 parent 0e47a13 commit 287bb49
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -12,14 +12,7 @@ export default class implements ConnectPlugin {
}

async process(context: ComponentConfig): Promise<ComponentData> {
/**
* @TODO Determine if we can switch to `PrismLang.HTML`
* Vue templates have no perfect analog in Prism-supported languages,
* though they're more similar to HTML than JSX.
* For now, `PrismLang.Markup` is a great solution;
* see https://github.com/zeplin/connected-components-beta-issues/issues/4#issuecomment-562738427
*/
const lang = PrismLang.Markup
const lang = PrismLang.HTML

const componentInfo = await parse(context.path)

0 comments on commit 287bb49

Please sign in to comment.