Skip to content

Latest commit

 

History

History
74 lines (48 loc) · 1.5 KB

FontAwesome.md

File metadata and controls

74 lines (48 loc) · 1.5 KB

FontAwesome

fontawesome-6/Solid/FontAwesome
include('fontawesome-6/Solid/FontAwesome')
Illustration FontAwesome
illustration for Illustration illustration for FontAwesome

Sprites

The item provides the following sriptes:

  • <$FontAwesomeXs>
  • <$FontAwesomeSm>
  • <$FontAwesomeMd>
  • <$FontAwesomeLg>

FontAwesome

Load remotely

@startuml
' configures the library
!global $LIB_BASE_LOCATION="https://raw.githubusercontent.com/tmorin/plantuml-libs/master/distribution"

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

' loads the package bootstrap
include('fontawesome-6/bootstrap')

' loads the Item which embeds the element FontAwesome
include('fontawesome-6/Solid/FontAwesome')

' renders the element
FontAwesome('FontAwesome', 'Font Awesome', 'an optional tech label', 'an optional description')
@enduml

Load locally

@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION="../.."

' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml

' loads the package bootstrap
include('fontawesome-6/bootstrap')

' loads the Item which embeds the element FontAwesome
include('fontawesome-6/Solid/FontAwesome')

' renders the element
FontAwesome('FontAwesome', 'Font Awesome', 'an optional tech label', 'an optional description')
@enduml