{"id":32111664,"url":"https://github.com/kflu/literify","last_synced_at":"2026-02-21T11:31:28.698Z","repository":{"id":62424212,"uuid":"94667011","full_name":"kflu/literify","owner":"kflu","description":"racket literate programming in scribble to enable simultaneously display and evaluate code chunks","archived":false,"fork":false,"pushed_at":"2017-06-18T05:57:50.000Z","size":384,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-06T15:18:56.434Z","etag":null,"topics":["documentation","literate-programming","racket","scribble"],"latest_commit_sha":null,"homepage":null,"language":"Racket","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kflu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-18T05:23:43.000Z","updated_at":"2022-02-06T17:47:45.000Z","dependencies_parsed_at":"2022-11-01T18:00:53.767Z","dependency_job_id":null,"html_url":"https://github.com/kflu/literify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kflu/literify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kflu%2Fliterify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kflu%2Fliterify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kflu%2Fliterify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kflu%2Fliterify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kflu","download_url":"https://codeload.github.com/kflu/literify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kflu%2Fliterify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29679802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T11:29:27.227Z","status":"ssl_error","status_checked_at":"2026-02-21T11:29:20.292Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["documentation","literate-programming","racket","scribble"],"created_at":"2025-10-20T14:44:14.661Z","updated_at":"2026-02-21T11:31:28.693Z","avatar_url":"https://github.com/kflu.png","language":"Racket","readme":"# literify\n\n```racket\n (require literify) package: literify\n```\n\nDefault Scribble or scribble/lp2 doesn’t allow you to have some code\nboth displayed and executed at the same time. This library provides\nseveral forms to enable this functionality.\n\nFor example, putting the below lines in your scribble document not only\ndisplays it, but also executes it. Displaying and executing code is done\nby `code/eval`:\n\n```racket\n@code/eval[           \n  (define name \"Mike\")\n  (define age 12)]    \n```\n\nThen later in the document, you can display the code and its output by\nusing `code/print`, `code/display`, or `code/write`:\n\n```racket\n@code/print[                    \n  (string-append \"hello \" name)]\n```\n\n```racket\n(code/eval expr ...)\n```\n\nDisplays `expr ...` and also evaluates them in the current context. If\nthe expressions returns a value, the value will attempted to be rendered\nin the document. If it cannot be rendered, e.g., if it’s not a string or\npictures, the document will fail to be generated.\n\nThis form is usually used to defining valuables, functions, structs,\netc. It can also be used to display pictures.\n\nIf you want to display the result of some expression, use `code/format`\nand its derivatives.\n\n```racket\n(code/format formatter expr ...)\n                                \n  formatter : (any -\u003e string?)  \n```\n\nDisplays `expr ...` and also evaluates them. The output of the\nexpressions will be formatted by `formatter` and displayed.\n\nThe below forms are derived from `code/format` and use `~a`, `~v`, and\n`~s` as the `formatter` respectively.\n\n```racket\n(code/display expr ...)\n```\n\n```racket\n(code/print expr ...)\n```\n\n```racket\n(code/write expr ...)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkflu%2Fliterify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkflu%2Fliterify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkflu%2Fliterify/lists"}