Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 26 2017 18:46
    @mathisonian banned @krpx_division_twitter
  • Sep 22 2017 18:27
    @rreusser banned @krpx_group_twitter
Matthew Conlen
@mathisonian

hey @bttgcm that's the main source of documentation.

markup syntax: https://idyll-lang.org/docs/syntax
tutorials for various common things: https://idyll-lang.org/tutorials
components: https://idyll-lang.org/docs/components

if you're looking for something specific there may be blogs or similar things that people have written about it, i can point you in the right direction if it exists

Dan Marshall
@danmarshall
Hello @mathisonian and everyone, I'm considering using Idyll in conjunction with Gatsby. I see that the last mention of Gatsby in this chat was a few years ago, and I know Gatsby has gone through major versions since then. Let me know if this a silly idea :)
Matthew Conlen
@mathisonian
hey @danmarshall - sorry i missed this (gitter notifications have been spotty recently for some reason)
i personally haven't tried it myself but i think must be do-able. all of idyll's parts are modular so you can take what you need to integrate with something like gatsby. the question is how much glue code you'll end up writing
typically the only thing that i miss when using idyll as an api rather than using the CLI is that the cli gives you some code optimizations in terms of figuring out what components are used in your article and only bundling the necessary stuff. a first pass might be to see if you can integrate without that as proof of concept, then add it in (can also be done via api)
the main thing you likely need is the runtime, which takes in markup (or an AST if you prefer to compile the markup yourself) and turns it into live javascript https://idyll-lang.org/docs/publishing/embedding
Matthew Conlen
@mathisonian
i'm curious to here how it is to try to work with gatsby
i don't actually know what gatsby gives you... i'm kind of assuming its something like nextjs, which is what i have written some sites in (and that plays fine w idyll)
let me know if i'm way off and this is not the right level of abstraction and we can investigate further
Dan Marshall
@danmarshall
Thanks @mathisonian ! Now that I've looked at Next.js I am strongly considering using that instead of Gatsby
Matthew Conlen
@mathisonian
np @danmarshall! if you have questions about that my blog has some examples with next - e.g. passing in a string of markup https://github.com/mathisonian/mathisonian.github.io/blob/master/pages/writing/apparatus.js or from a file https://github.com/mathisonian/mathisonian.github.io/blob/master/pages/writing/a-short-note-on-debuggers.js
Matthew Conlen
@mathisonian
one other good example - the idyll docs: https://idyll-lang.org/docs
we're hosting it on vercel which seems to work pretty well and is pretty performant. the only thing i can't figure out how to do is get it to read the idyll file from the file system rather than shoving it in a string
curious to hear where you end up @danmarshall i think with a little more polish we could get a really nice reusable setup
Johanna E
@johanna-einsiedler
Hi!
I am also quite new to Idyll but really loving it so far - thanks a lot for putting this out!
I was wondering, with the Annotation component is there a way to combine it with a Graphic? I.e. if I hover over a word that a picture is shown?
Matthew Conlen
@mathisonian
hi @johanna-einsiedler, welcome!
unfortunately the annotation component only displays text at the moment, but this seems like a pretty reasonable feature request, it would be good to support
would you mind opening an issue on Github so it has visibility and we can track progress? https://github.com/idyll-lang/idyll/issues/new?assignees=&labels=&template=feature_request.md
Johanna E
@johanna-einsiedler
Thanks a lot @mathisonian!
I see - yes great suggestion, I will open an issue :)
Johanna E
@johanna-einsiedler
Sorry for bothering you so much - but is there a way I can specify that my chart axis should be displayed as a date (and not e.g. 1,900 instead of 1900)?
I am a complete newbie to web development (coming more from the data science side), so my apologies if this is a stupid question.
Matthew Conlen
@mathisonian
@johanna-einsiedler are you using vega lite or the built in [Chart /] for this?
bttgcm
@bttgcm
@mathisonian One more question: I am trying to add a SVG as a background. Is there a tutorial available somewhere? Thank you
gregid
@gregid
Hi, is there a way to generate static/pdf printout of the idyll article - I could use pdf printer from the browser but I am looking for having more control, e.g. specifying page breaks?
suhr
@suhr:matrix.org
[m]
Is there a way to profile Idyll somehow?
jnaiman
@jnaiman
Hi folks! I've got a TA trying to install and use the vega-lite plug in (Windows) and is running into an error I haven't seen before:
image.png
just curious if folks have any idea about what this one means. Thanks!
Andrea Borruso
@aborruso
Hi, first of all thank you for idyll, it seems a great tool
I have a very basic question. If I want to write a data story post, using idyll, and I wont do add in the text a sentence of this kind "The data for today, December 8, 2021", how to use a variable and get that date every day to fit the current date?
Andrea Borruso
@aborruso

I have a very basic question. If I want to write a data story post, using idyll, and I wont do add in the text a sentence of this kind "The data for today, December 8, 2021", how to use a variable and get that date every day to fit the current date?

I know probably the mine is a stupid question. Is the answer "simply use javascript"?