Inline CSS/Javascript into a HTML file

后端 未结 4 1413
萌比男神i
萌比男神i 2021-02-02 01:07

I am looking for a simple commandline script/program to automatically \"inline\" all external css and javascript references for a html file. I basically want to create a single

4条回答
  •  日久生厌
    2021-02-02 01:27

    EDIT : I wrote a little Python script for fun. It seems to work pretty well :

    Inline2Mail

    Or you can still try with :

    Front compiler does something like that but it implies javascript. You have an online solution as well, with premailer. Finally you have a Python and a Ruby script to do it.

提交回复
热议问题