unified-doc

Overview

An interpretation of a simple file system built on the web using unified-doc. This example uses the DocPreview component that is detailed in the Doc preview example.

This example is used in the home page!

Source Code

Features

  • Features from the Doc preview example apply here.
  • Upload and preview any file using the DocPreview component.
  • Search/filter for files.
  • Hide/show file extensions.

Concepts

  • Most concepts from the Doc preview example apply here.
  • dom.fromFile()

Demo

unified-doc supports rendering most code formats, and the following explicit formats: .html, .md, .csv.
File
Extension
Size
doc.html
.html
167.2 KB
doc.md
.md
23.1 KB
doc.csv
.csv
0.7 KB
code.1c
.1c
2.5 KB
code.abnf
.abnf
0.5 KB
code.accesslog
.accesslog
0.2 KB
code.actionscript
.actionscript
0.6 KB
code.ada
.ada
0.4 KB
code.angelscript
.angelscript
1.2 KB
code.apache
.apache
0.6 KB
code.applescript
.applescript
0.3 KB
code.arcade
.arcade
0.5 KB
code.arduino
.arduino
0.7 KB
code.armasm
.armasm
0.9 KB
code.asciidoc
.asciidoc
1.4 KB
code.aspectj
.aspectj
1.0 KB
code.autohotkey
.autohotkey
0.5 KB
code.autoit
.autoit
0.3 KB
code.avrasm
.avrasm
0.6 KB
code.awk
.awk
0.5 KB
code.axapta
.axapta
0.6 KB
code.bash
.bash
0.3 KB
code.basic
.basic
0.4 KB
code.bnf
.bnf
0.5 KB
code.brainfuck
.brainfuck
0.4 KB
code.cal
.cal
0.7 KB
code.capnproto
.capnproto
1.1 KB
code.ceylon
.ceylon
0.2 KB
code.clean
.clean
0.7 KB
code.clojure-repl
.clojure-repl
0.1 KB
code.clojure
.clojure
0.3 KB
code.cmake
.cmake
0.5 KB
code.coffeescript
.coffeescript
0.3 KB
code.coq
.coq
1.1 KB
code.cos
.cos
0.6 KB
code.cpp
.cpp
0.5 KB
code.crmsh
.crmsh
1.4 KB
code.crystal
.crystal
0.4 KB
code.csharp
.csharp
0.3 KB
code.csp
.csp
0.2 KB
code.css
.css
0.3 KB
code.d
.d
0.9 KB
code.dart
.dart
0.8 KB
code.delphi
.delphi
0.7 KB
code.diff
.diff
0.6 KB
code.django
.django
0.3 KB
code.dns
.dns
1.5 KB
code.dockerfile
.dockerfile
1.3 KB
code.dos
.dos
0.4 KB
code.dsconfig
.dsconfig
1.5 KB
code.dts
.dts
1.7 KB
code.dust
.dust
0.1 KB
code.ebnf
.ebnf
0.5 KB
code.elixir
.elixir
0.9 KB
code.elm
.elm
0.4 KB
code.erb
.erb
0.3 KB
code.erlang-repl
.erlang-repl
0.3 KB
code.erlang
.erlang
1.3 KB
code.excel
.excel
0.0 KB
code.fix
.fix
0.7 KB
code.flix
.flix
1.2 KB
code.fortran
.fortran
0.5 KB
code.fsharp
.fsharp
0.9 KB
code.gams
.gams
1.2 KB
code.gauss
.gauss
0.5 KB
code.gcode
.gcode
0.5 KB
code.gherkin
.gherkin
0.7 KB
code.glsl
.glsl
0.6 KB
code.gml
.gml
0.4 KB
code.go
.go
0.2 KB
code.golo
.golo
0.2 KB
code.gradle
.gradle
1.7 KB
code.groovy
.groovy
1.3 KB
code.haml
.haml
0.3 KB
code.handlebars
.handlebars
0.1 KB
code.haskell
.haskell
1.1 KB
code.haxe
.haxe
2.8 KB
code.hsp
.hsp
0.3 KB
code.http
.http
0.2 KB
code.hy
.hy
0.9 KB
code.inform7
.inform7
0.7 KB
code.ini
.ini
0.2 KB
code.irpf90
.irpf90
1.0 KB
code.isbl
.isbl
1.1 KB
code.java
.java
0.3 KB
code.javascript
.javascript
0.5 KB
code.jboss-cli
.jboss-cli
0.6 KB
code.json
.json
0.2 KB
code.julia-repl
.julia-repl
0.6 KB
code.julia
.julia
1.5 KB
code.kotlin
.kotlin
0.1 KB
code.lasso
.lasso
1.6 KB
code.latex
.latex
0.4 KB
code.ldif
.ldif
1.0 KB
code.leaf
.leaf
0.3 KB
code.less
.less
0.7 KB
code.lisp
.lisp
0.6 KB
code.livecodeserver
.livecodeserver
0.6 KB
code.livescript
.livescript
1.0 KB
code.llvm
.llvm
2.8 KB
code.lsl
.lsl
0.2 KB
code.lua
.lua
0.6 KB
code.makefile
.makefile
0.2 KB
code.markdown
.markdown
0.4 KB
code.mathematica
.mathematica
0.2 KB
code.matlab
.matlab
1.2 KB
code.maxima
.maxima
1.1 KB
code.mel
.mel
0.5 KB
code.mercury
.mercury
0.5 KB
code.mipsasm
.mipsasm
0.5 KB
code.mizar
.mizar
2.2 KB
code.mojolicious
.mojolicious
0.7 KB
code.monkey
.monkey
0.7 KB
code.moonscript
.moonscript
0.6 KB
code.n1ql
.n1ql
0.4 KB
code.nginx
.nginx
1.2 KB
code.nim
.nim
0.4 KB
code.nix
.nix
0.4 KB
code.nsis
.nsis
0.6 KB
code.objectivec
.objectivec
0.2 KB
code.ocaml
.ocaml
0.6 KB
code.openscad
.openscad
0.2 KB
code.oxygene
.oxygene
1.0 KB
code.parser3
.parser3
0.6 KB
code.perl
.perl
0.8 KB
code.pf
.pf
0.8 KB
code.pgsql
.pgsql
0.3 KB
code.php-template
.php-template
0.1 KB
code.php
.php
1.0 KB
code.plaintext
.plaintext
0.1 KB
code.pony
.pony
0.3 KB
code.powershell
.powershell
0.4 KB
code.processing
.processing
0.3 KB
code.profile
.profile
0.3 KB
code.prolog
.prolog
0.2 KB
code.properties
.properties
0.2 KB
code.protobuf
.protobuf
0.6 KB
code.puppet
.puppet
1.0 KB
code.purebasic
.purebasic
0.7 KB
code.python-repl
.python-repl
0.2 KB
code.python
.python
0.3 KB
code.q
.q
0.5 KB
code.qml
.qml
1.9 KB
code.r
.r
1.3 KB
code.reasonml
.reasonml
0.9 KB
code.rib
.rib
0.7 KB
code.roboconf
.roboconf
0.8 KB
code.routeros
.routeros
0.8 KB
code.rsl
.rsl
0.4 KB
code.ruby
.ruby
0.2 KB
code.ruleslanguage
.ruleslanguage
1.0 KB
code.rust
.rust
0.3 KB
code.sas
.sas
1.2 KB
code.scala
.scala
1.2 KB
code.scheme
.scheme
0.7 KB
code.scilab
.scilab
0.3 KB
code.scss
.scss
1.1 KB
code.shell
.shell
0.2 KB
code.smali
.smali
1.8 KB
code.smalltalk
.smalltalk
1.1 KB
code.sml
.sml
0.5 KB
code.sqf
.sqf
0.4 KB
code.sql
.sql
0.3 KB
code.stan
.stan
1.2 KB
code.stata
.stata
0.8 KB
code.step21
.step21
1.0 KB
code.stylus
.stylus
0.5 KB
code.subunit
.subunit
0.9 KB
code.swift
.swift
0.3 KB
code.taggerscript
.taggerscript
0.7 KB
code.tap
.tap
0.7 KB
code.tcl
.tcl
0.6 KB
code.thrift
.thrift
0.5 KB
code.tp
.tp
3.7 KB
code.twig
.twig
0.4 KB
code.typescript
.typescript
0.3 KB
code.vala
.vala
1.3 KB
code.vbnet
.vbnet
1.3 KB
code.vbscript-html
.vbscript-html
0.1 KB
code.vbscript
.vbscript
0.9 KB
code.verilog
.verilog
1.1 KB
code.vhdl
.vhdl
1.0 KB
code.vim
.vim
0.3 KB
code.x86asm
.x86asm
1.1 KB
code.xl
.xl
0.9 KB
code.xml
.xml
0.3 KB
code.xquery
.xquery
0.9 KB
code.yaml
.yaml
0.5 KB
code.zephir
.zephir
1.1 KB
© 2020 unified-doc