mirror of
				https://github.com/richard-loafle/fuse-angular.git
				synced 2025-10-31 01:53:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			69 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			69 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <div id="highlight" class="page-layout simple fullwidth docs">
 | |
| 
 | |
|     <!-- HEADER -->
 | |
|     <div class="header mat-accent-bg p-24 h-160" fxLayout="row" fxLayoutAlign="start center">
 | |
|         <div fxLayout="column" fxLayoutAlign="center start">
 | |
|             <div class="black-fg" fxLayout="row" fxLayoutAlign="start center">
 | |
|                 <mat-icon class="secondary-text s-18">home</mat-icon>
 | |
|                 <mat-icon class="secondary-text s-16">chevron_right</mat-icon>
 | |
|                 <span class="secondary-text">Documentation</span>
 | |
|                 <mat-icon class="secondary-text s-16">chevron_right</mat-icon>
 | |
|                 <span class="secondary-text">Components</span>
 | |
|             </div>
 | |
|             <div class="h2 mt-16">Highlight</div>
 | |
|         </div>
 | |
|     </div>
 | |
|     <!-- / HEADER -->
 | |
| 
 | |
|     <!-- CONTENT -->
 | |
|     <div class="content p-24">
 | |
| 
 | |
|         <p>
 | |
|             <code>fuse-highlight</code> is a custom built Fuse component allows to show syntax highlighted codes.
 | |
|         </p>
 | |
| 
 | |
|         <div class="section-title">Sample</div>
 | |
|         <p fxLayout="row" fxLayoutAlign="start start">
 | |
| 
 | |
|             <fuse-highlight lang="html">
 | |
|                 <textarea #source>
 | |
| 
 | |
|                     <div class="title">
 | |
|                         <span>Example Title</span>
 | |
|                     </div>
 | |
| 
 | |
|                 </textarea>
 | |
|             </fuse-highlight>
 | |
| 
 | |
|         </p>
 | |
| 
 | |
|         <div class="section-title">Usage</div>
 | |
|         <p class="mat-grey-200-bg py-8">
 | |
|             <fuse-highlight lang="html">
 | |
|                 <textarea #source>
 | |
| 
 | |
| <fuse-highlight lang="html">
 | |
|     <textarea #source>
 | |
|         <div class="title">
 | |
|             <span>Example Title</span>
 | |
|         </div>
 | |
|     </textarea>
 | |
| </fuse-highlight>
 | |
| 
 | |
|                 </textarea>
 | |
|             </fuse-highlight>
 | |
|         </p>
 | |
| 
 | |
|         <div class="section-title">Inputs</div>
 | |
|         <p class="py-8" fxLayout="row" fxLayoutAlign="start center">
 | |
|             <code class="mr-16">lang</code>
 | |
|             <span>
 | |
|                 Language of the code to be highlighted.
 | |
|             </span>
 | |
|         </p>
 | |
| 
 | |
|     </div>
 | |
| 
 | |
| </div>
 | |
| 
 |