Skip to content

Ability to use code snippet from GitLab #40

@jeffydc

Description

@jeffydc

Clear and concise description of the problem

Followup of #4

Having to include base64 urls in the docs makes the docs unable to scan.

Suggested solution

  • Fetch the code snippets/examples from GitLab and display them in the code editor pane.
  • URL can be like <netlify-subdomain>/?gitlab/<username or org>/repo/tree/dir/main.py.
  • Use fetch to get content from GitLab raw url.
  • Replace the original url with the url stated above.

Alternative

N/A

Additional context

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions