{"id":16852563,"url":"https://github.com/denisidoro/remacro","last_synced_at":"2025-04-11T07:07:55.827Z","repository":{"id":56597916,"uuid":"282006888","full_name":"denisidoro/remacro","owner":"denisidoro","description":"Plain-text macro expander with React-inspired widgets. Markdown with steroids. :muscle:","archived":false,"fork":false,"pushed_at":"2020-10-29T15:04:47.000Z","size":6134,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T04:51:35.688Z","etag":null,"topics":["hacktoberfest","macro","markdown","markup","react"],"latest_commit_sha":null,"homepage":"https://denisidoro.github.io/remacro","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denisidoro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-23T16:49:55.000Z","updated_at":"2024-02-09T22:57:24.000Z","dependencies_parsed_at":"2022-08-15T21:40:30.709Z","dependency_job_id":null,"html_url":"https://github.com/denisidoro/remacro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisidoro%2Fremacro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisidoro%2Fremacro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisidoro%2Fremacro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denisidoro%2Fremacro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denisidoro","download_url":"https://codeload.github.com/denisidoro/remacro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358590,"owners_count":21090403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["hacktoberfest","macro","markdown","markup","react"],"created_at":"2024-10-13T13:47:43.981Z","updated_at":"2025-04-11T07:07:55.793Z","avatar_url":"https://github.com/denisidoro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remacro\n\n:warning: This has been deprecated in favor of tools such as [zola](https://github.com/getzola/zola)\n\n## Usage\n\nWith this tool it's possible to generate a superset of markdown, so that you don't repeat yourself. \n\nIt also works for any plain-text content, so it's able to expand source code as well.\n\nExamples: \n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Macros \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n\n```markdown\n# Hello World\n\nLorem ipsum\n\n\u003cLoveBox\u003eThis is a custom widget\u003c/LoveBox\u003e\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```javascript\nconst Box = ({ icon, children }) =\u003e `\u003e :${icon}: ${children}`\n\nconst LoveBox = ({ children }) =\u003e \u003cBox icon=\"heart\"\u003e{children}\u003c/Box\u003e\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```markdown\n# Hello World\n\nLorem ipsum\n\n\u003e :heart: This is a custom widget\n```\n\n\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003e \n\n```go\nfoo, err := bar()\n\u003cErr v=foo /\u003e\n```\n  \n\u003c/td\u003e\n\u003ctd\u003e\n\n```javascript\nconst Err = ({ v }) =\u003e `if err != nil { \n   return nil, err \n}\nreturn ` + v + \", nil\"\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```go\nfoo, err := bar()\nif err != nil { \n   return nil, err \n}\nreturn foo, nil\n```\n\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\n\nThe syntax for writing macros is the same for writing [components in React](https://reactjs.org/docs/components-and-props.html).\n\n## Live editor\n\nClick [here](https://denisidoro.github.io/remacro/) for a web-based editor with live preview. \n\n## CLI\n\n#### Installation\n\n```bash\nnpm install -g remacro\n```\n\n#### Call\n\n```\nremacro --input \"$(cat input.md)\" --macros \"$(cat macros.js)\" \u003e output.md\n```\n\n## Integration with VSCode\n\nTODO\n\n## Provided macros\n\n- [Confluence wiki](templates/confluence)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenisidoro%2Fremacro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenisidoro%2Fremacro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenisidoro%2Fremacro/lists"}