承接 liquidpl/blade-no-single-letter-words 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

liquidpl/blade-no-single-letter-words

Composer 安装命令:

composer require liquidpl/blade-no-single-letter-words

包简介

Adds a tag to Blade which pushes one character words in paragraphs to the next line.

README 文档

README

A common typography practice in countries such as Poland is to push 1-2 character words that are situated at the end of the line to the next one.

This package adds @nosingleletterwords and @endnosingleletterwords to Blade. Adding them to your template alters the text inside them so that   is appended after said 1-2 character words, so that they'll be always pushed to the next line if they happen to be at the end of a line.

Supported Laravel versions

This package officially supports the currently supported Laravel version, which at the time of this commit are 5.8 and above. However, it should work on the previous versions too.

Installation

# composer require liquidpl/blade-no-single-letter-words

On Laravel 5.4 and below, you need to add the service provider to your configuration files. In your config/app.php file, in the providers array key:

    'providers' => array( // or [
        // ...

        'LiquidPL\BladeNoSingleLetterWords\BladeNoSingleLetterWordsProvider',
    );

Usage

@nosingleletterwords
<p>
    Some text that might look a bit bad from a typographical standpoint.
<p>
@endnosingleletterwords

Results in:

<p>
    Some text that might look a&nbsp;bit bad from a&nbsp;typographical standpoint.
</p>

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固