https://github.com/denisidoro/remacro
Plain-text macro expander with React-inspired widgets. Markdown with steroids. :muscle:
https://github.com/denisidoro/remacro
hacktoberfest macro markdown markup react
Last synced: 6 months ago
JSON representation
Plain-text macro expander with React-inspired widgets. Markdown with steroids. :muscle:
- Host: GitHub
- URL: https://github.com/denisidoro/remacro
- Owner: denisidoro
- Created: 2020-07-23T16:49:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-29T15:04:47.000Z (almost 5 years ago)
- Last Synced: 2025-03-25T04:51:35.688Z (7 months ago)
- Topics: hacktoberfest, macro, markdown, markup, react
- Language: JavaScript
- Homepage: https://denisidoro.github.io/remacro
- Size: 5.85 MB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# remacro
:warning: This has been deprecated in favor of tools such as [zola](https://github.com/getzola/zola)
## Usage
With this tool it's possible to generate a superset of markdown, so that you don't repeat yourself.
It also works for any plain-text content, so it's able to expand source code as well.
Examples:
Input Macros Output
```markdown
# Hello WorldLorem ipsum
This is a custom widget
``````javascript
const Box = ({ icon, children }) => `> :${icon}: ${children}`const LoveBox = ({ children }) => {children}
``````markdown
# Hello WorldLorem ipsum
> :heart: This is a custom widget
```
```go
foo, err := bar()```
```javascript
const Err = ({ v }) => `if err != nil {
return nil, err
}
return ` + v + ", nil"
``````go
foo, err := bar()
if err != nil {
return nil, err
}
return foo, nil
```output.md
```## Integration with VSCode
TODO
## Provided macros
- [Confluence wiki](templates/confluence)