Eric Liu

Results 252 comments of Eric Liu

> For my personal use I see that HighlightSvelte will work but I still think it's important that such a fundamental language like HTML is supported. `HighlightSvelte` uses the `xml`...

This would also be useful for customizing a formatted date to also include the relative timestamp. ``` Jan. 2020 (2 years ago) ``` The API could look like: ```svelte `${formatted}...

@angrytongan Could you try this? I threw the [UI Shell Header Nav](https://carbon-svelte.vercel.app/framed/UIShell/HeaderNav) example into a [Svelte REPL](https://svelte.dev/repl/7098968234d94df69024d7243b2bedf5?version=3.38.1). ![Screen Shot 2021-05-03 at 7 47 13 AM](https://user-images.githubusercontent.com/10718366/116891796-02097700-abe4-11eb-92ed-e55cfd3bfad4.png)

Thanks for flagging this. This indeed is an unsupported feature. The "interactive" Expandable Tile is supported in v11; the corresponding `--tile-expandable-interactive` classes do not exist in `carbon-components@10`. As a workaround,...

Thank you for explaining the use case. I agree that it would be nice to have an event that wasn't triggered if either `pageSize` or `page` change – rather, an...

The current version published to NPM is the latest version. What's the reason for need to use the GitHub source?

```html import Highlight from "svelte-highlight"; import json from "svelte-highlight/languages/json"; import github from "svelte-highlight/styles/github"; let url = "https://www.swapi.tech/api/people/1"; import fetchStore from "./fetch.js"; const [data, loading, error, get] = fetchStore(url); Fetch again...

If you're seeking a proper code editor, I would recommend [CodeMirror](https://github.com/codemirror/codemirror5), which is what I believe the Svelte REPL uses. I don't think this library serves as an appropriate text...