Skip to content

Footer from external HTTP source #600

@userbradley

Description

@userbradley

Howdy!

Firstly awesome product! This kicks 🍑 !!

My request, or more so a question, is is there anyway I can use include, as well as heafer-from and footer-from to pull from a http source, like github raw?

I would imagine it to look something like:

header-from: "https://gist.githubusercontent.com/userbradley/0e21a74f8cfa5b352663325eeb1b458f/raw/f5f83ad111c04e1fe153e77fd66628d998ba0bc6/header.md"
footer-from: "docs/footer.md"
formatter: "md doc"

content: |-
  {{ .Header }}
 
  ---
  # legal stuff;
  {{ include "github.com/userbradley/terraform-docs/legal.md" }}

Not sure if this is supported, but it would be cool as I'm going to be creating a lot of terraform modules and would like to be able to just have one header and footer, as well as legal schpiel, hosted on git/ or a web server.

Thoughts? Objections?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy