Skip to content

crusty code examples #33

Closed
Closed
@tomByrer

Description

Subject of the feature

Examples are not standardized; & use older JS standards

Problem

Using
var rehype = require('rehype')
has mostly been supplanted by
const rehype = require('rehype')
I'm not sure if everyone is ready for ESModules yet; there is still some friction, but maybe that option should be listed also?

& this is only 1 example. It is very confusing to me to see many ways this system can be syntaxed; I'd rather just see 1 way that is harmonized thoughout all codebases & docs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions