Skip to content

Commit

Permalink
feat: Making Preview and Include ( Fixes #35 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Feb 1, 2024
1 parent 5f0d7bf commit c9274a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 6 additions & 0 deletions 4bitcss.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,10 @@ Export-4BitSVG -SVG https://raw.githubusercontent.com/feathericons/feather/maste
Export-4BitSVG -SVG https://raw.githubusercontent.com/feathericons/feather/master/icons/download-cloud.svg -Stroke "ansi6" -OutputPath (Join-Path $IncludesPath "download-cloud-icon.svg")
Export-4BitSVG -SVG https://raw.githubusercontent.com/feathericons/feather/master/icons/shuffle.svg -Stroke "ansi6" -OutputPath (Join-Path $IncludesPath "shuffle-icon.svg")
Export-4BitSVG -SVG https://raw.githubusercontent.com/feathericons/feather/master/icons/help-circle.svg -Stroke "ansi6" -OutputPath (Join-Path $IncludesPath "help-circle-icon.svg")

Get-Module 4bitcss |
Split-Path |
Join-Path Assets |
Get-ChildItem -Path 4bitpreview.svg |
Copy-Item -Destination (Join-Path $IncludesPath "4bitpreview.svg") -Force -PassThru
#endregion Icons
6 changes: 1 addition & 5 deletions docs/index.ps.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
</h2>

<div class='centeredText'>
~~~PipeScript{
Get-Content .\4bitpreview.svg |
Select-Object -Skip 1
}
~~~
{% include 4bitpreview.svg %}
</div>

<div class='centeredText'>
Expand Down

0 comments on commit c9274a1

Please sign in to comment.