Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Translator OmetaHighlighterToBemjson #5

merged 8 commits into from Sep 1, 2011


None yet
2 participants

arikon commented Aug 15, 2011

Just made OmetaHighlighterToBemjson translator and ohl2bemjson utility.
OmetaHighlighterToBemjson generates bemjson tree, which has block b-code with lang modifier as its root. Value of lang modifier is a highlighted code language id.


veged commented Aug 17, 2011

давайте b-code переименуем в ohl?


veged commented Aug 17, 2011

может вместо format сделать type? чтобы -f оставить для --force


arikon commented Aug 18, 2011

Может b-ohl?
Можно сделать --lang, -l — это более конкретное понятие, чем type.


veged commented Aug 18, 2011

префиксы для блоков не обязательны жеж -- не хочу смешивать хайлайтер и bem-bl

можно и --lang, да


arikon commented Aug 31, 2011


  • утилита ohl вместо ohl2html и ohl2bemjson: принимает обязательный параметр --lang, -l для языка и необязательный --format, -f для формата вывода
  • блок назвал ohl

veged added a commit that referenced this pull request Sep 1, 2011

Merge pull request #5 from arikon/nodejs
Translator OmetaHighlighterToBemjson

@veged veged merged commit 9a3eeed into veged:nodejs Sep 1, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment