Skip to content

Use the setup function from ember-prism#51

Merged
mansona merged 3 commits intoempress:mainfrom
NullVoxPopuli:use-glimmer-instead-of-handlebars
Aug 31, 2023
Merged

Use the setup function from ember-prism#51
mansona merged 3 commits intoempress:mainfrom
NullVoxPopuli:use-glimmer-instead-of-handlebars

Conversation

@NullVoxPopuli
Copy link
Copy Markdown
Contributor

@NullVoxPopuli NullVoxPopuli commented Jul 5, 2023

Looks like it's working, but the theme in the dummy app isn't utilizing all the named tokens:
image

the handlebars language has been replaced by glimmer so that all our existing code doesn't need changing.
Also, using the glimmer language on code fences shows no changes in the highlighting (proving they're the same parser)

To better show the difference, I added more to the example.md (if you want this removed in the PR, that's fine, too)

Before
(handlebars)
image

Not yet
(handlebars + glimmer (they fight each other))
image

After
(glimmer only)
image

it's not perfect but it's an improvement over handlebars (which ember doesn't use)

On the ember website: https://guides.emberjs.com/release/in-depth-topics/rendering-values/

image

All of this should have some color after updating

@netlify
Copy link
Copy Markdown

netlify bot commented Jul 5, 2023

Deploy Preview for ember-showdown-prism ready!

Name Link
🔨 Latest commit db71aba
🔍 Latest deploy log https://app.netlify.com/sites/ember-showdown-prism/deploys/64a7f911ee4beb00085b4b88
😎 Deploy Preview https://deploy-preview-51--ember-showdown-prism.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Copy Markdown
Member

@mansona mansona left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@mansona mansona merged commit 7d1813c into empress:main Aug 31, 2023
@NullVoxPopuli NullVoxPopuli deleted the use-glimmer-instead-of-handlebars branch August 31, 2023 15:43
@mansona mansona added the enhancement New feature or request label Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants