Skip to content

Commit 6c42f34

Browse files
committed
Updated Changelog for release
Updated Readme
1 parent 5968116 commit 6c42f34

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
## [0.1.0] - 2020-06-26
9+
### Added
10+
- Basic Support for printable view
11+
- Create Printable classes for configuration
12+
- Documentation for the document viewer
813

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class Invoice extends DocumentAbstract
103103
The make command also creates a blade file within the resource folder.
104104
It will come with some basic scaffold settings so you will be able to create beautiful documents in no time.
105105

106-
But you can also define or resource the files.
106+
If you want to create a custom blade file make sure you extend it with our base blade. Otherwise the enhanced view optimizations won't work.
107107

108108
```php
109109
@extends('ambersive.documentviewer::printable')
@@ -115,6 +115,16 @@ A full example might look like:
115115

116116
@extends('ambersive.documentviewer::printable')
117117

118+
@section('styles')
119+
120+
<style>
121+
body {
122+
// Custom Page style goes here
123+
}
124+
</style>
125+
126+
@endsection
127+
118128
@section('document')
119129

120130
<div>Printable document</div>

0 commit comments

Comments
 (0)