EnhancedHTML2 - custom

This topic contains 2 replies, has 2 voices, and was last updated by  fpoli 5 months, 3 weeks ago.

  • Author
    Posts
  • #64494

    fpoli
    Participant

    Hi Don,
    have you considered adding another parameter in the EnhancedHTML2 module to allow header injection with a more complete list of css and js?

    It is quick to customize in the code, but just for a sake of standardized version 🙂

    Actually I simply (and hope correctly as it works):
    add a new param:
    [string[]]$bootCSS
    that I later inject in the header
    ConvertTo-HTML -Head "$stylesheet`n$titletag`n$script`n$bootCSS`n$datatable" -Body $body

    as simple as it is, allow a quick import of Bootstrap,Bootwatch,fonts and so on.

    cheer fra

  • #64792

    Don Jones
    Keymaster

    I haven't, but you're welcome to suggest that in a pull request. GitHub.com/powershellorg/EnhancedHTML2.

  • #65337

    fpoli
    Participant

    Hi Don, pull request done.
    I also added another pull just now, as per my tests i see an not required closure in case the list type is passed, instead of the table type.
    i have some doubt if you can see the last change in the whole pull request or if i have to submit a new one...
    tnx fra

You must be logged in to reply to this topic.