bashcms2's People
bashcms2's Issues
記事の公開非公開をどこで調節するかを考える。
記事を非公開にするときの処理をどう行うか考える必要がある。
keyword検索結果のgrepに大文字小文字の区別をなくす
grepのオプションを変えて、大文字、小文字のオプションをなくすことが必要
また、keyword(記事のメタデータ)がgrepの対象に入っていない気がするが、そこの対処を考える。
emacs org modeとmarkdownの互換性を考える
emacs orgmodeの方が個人的にmarkdownより使いやすいので、markdownだけでなくorgmodeでも記事を書けるようにしたい。
orgmode互換性を保証するためには、以下の大きく二つの方法が考えられる。
- markdownの表記を利用した処理('#'を利用してタイトルを探すなど)をなくし、そのような処理はpandocでhtml変換した後に行う。そうすることで、orgmodeもhtmlに変換して利用することができる。
- orgmodeをmarkdownに変換することで今のbashcmsを使い続ける
現在のbashcmsの設計は入力がmarkdownであることを前提としてるため(markdown と密な結合をしている)、orgファイルを一度markdown変換する2の方が実装は少なくて済むと考えられる。
またmarkdownは大分universalな表記方法なので、現在の密な結合を保っていても大丈夫だとと思われる。
考えないといけないのは、2をするときに、orgmodeが意図したmarkdownに変換されているかである。
特に注意するのは
- underbarの変換
- コーどスニペットの変換
- latexスニペットの変換
など、調査が必要
バグ対処法をどっかにまとめておく
プレビューできなかったり、サーバーが落ちたときの対処をまとめておく
keyword検索画面にarticle infoが出てくる
keyword検索画面にarticle infoが出てきてしまうのを防ぐ必要がある
http通信を可能にするべきか考える
現在https通信のみ許可している。
httpを許可するかどうか考える。
また、どちらにせよ、http通信させたときの表示画面を直す必要がある
mdのファィル名のパース
mdのファイル名にハイフンを入れるとページが表示されない
記事を削除しても記事データが残る
コンテンツディレクトリから記事ディレクトリそのものを削除しても、記事のデータ(ビュー数やnav)が残ってしまう気がする。
残らないような対処法を考える。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.