From 3e7b61230843d3a98e9fd79566541c2279b4842a Mon Sep 17 00:00:00 2001 From: ShalokShalom Date: Fri, 17 Mar 2023 13:14:23 +0100 Subject: [PATCH] Add syntax highlighting (#4878) * Add syntax highlighting This looks prettier :) * Update to Elm --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1c9cb6eb6fb..7430667d7de 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Forget foreign keys; tabular data modeling is a relic of an older age, and it with modern languages. Instead, EdgeDB thinks about schema the same way you do: as **object types** containing **properties** connected by **links**. -``` +```elm type Person { required property name -> str; } @@ -101,7 +101,7 @@ EdgeDB's super-powered query language EdgeQL is designed as a ground-up redesign of SQL. EdgeQL queries produce rich, structured objects, not flat lists of rows. Deeply fetching related objects is painless...bye, bye, JOINs. -``` +```elm select Movie { title, actors: { @@ -115,7 +115,7 @@ EdgeQL queries are also _composable_; you can use one EdgeQL query as an expression inside another. This property makes things like _subqueries_ and _nested mutations_ a breeze. -``` +```elm insert Movie { title := "The Matrix Resurrections", actors := (