phax/ph-css の使い方
// parsing css and get CSSOM
final CascadingStyleSheet css = CSSReader.readFromString(
".index h1,
" +
".index h2,
" +
".index h3,
" +
".index h4,
" +
".index h5,
" +
".index h6 {
" +
" font-family: \"ヒラギノ明朝 ProN W3\", \"HiraMinProN-W3\", serif;
" +
" font-size: large;
" +
"}", ECSSVersion.CSS30);
// writing css
final String writtenCss = new CSSWriter(ECSSVersion.CSS30).getCSSAsString(css);
<img src="http://53ningen.com/wp-content/uploads/2016/10/b080e264-d67f-11e4-845e-c1f3fdff6678.png" b080e264-d67f-11e4-845e-c1f3fdff6678" width="828" height="490" class="aligncenter size-full wp-image-670" />
便利
Pinned Articles
About
ウェブ界隈でエンジニアとして労働活動に励んでいる @gomi_ningen 個人のブログです
Tags
LLM
promptfoo
GenAI
JavaScript
PowerShell
fluentd
kibana
elasticsearch
nginx
村川梨衣
五十嵐裕美
イベント
logrotate
IoT
Scala
Java
ICMP
iputils
C言語
WUG
mastodon
Swift
AWS
Windows
Clock
PoEAA
アーキテクチャ
iOS
DeviceFarm
プログラミング言語
OS
StepFunctions
Lambda
Serverless
terraform
ポエム
RHEL
ネットワーク
GraphQL
CloudWatch
Linux
Coreutils
nc
network
telnet
LinuxKernel
fpinscala
ELB
IAM
AppSync