spress-add-ons / Directive-theme

A responsive HTML5 + CSS3 site template
http://spress-add-ons.github.io/directive/
Other
1 stars 2 forks source link

MD code parsing is not working #5

Open enzolutions opened 9 years ago

enzolutions commented 9 years ago

I'm in the process to migrate my page to this new theme, but because my blog related with Web development I use a lot of code section using md style with three back-ticks ```

Let me show you an example

name = Token
description = Provides a user interface for the Token API and some missing core tokens.
core = 7.x
files[] = token.test

version = "7.x-1.5"
project = "token"
backdrop = 1.x

Generate the following output

spress-code-highlight

yosymfony commented 9 years ago

It's because that is the style of code tag.

enzolutions commented 9 years ago

But the theme Spress-theme-spresso use something to generate the proper encoding I guess use https://highlightjs.org

yosymfony commented 9 years ago

Ready. Get the latest version.

enzolutions commented 9 years ago

Cool how I can get the latest version.

inside Spress folder I tried to update with composer but I got the following error.

Loading composer repositories with package information
Updating dependencies (including require-dev)

  [ErrorException]
  Undefined variable: package

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesN]
yosymfony commented 9 years ago

I don't have any issue with that. I think that you need get the last version of spress with git pull. Next runcomposer update.`

enzolutions commented 9 years ago

I just install 1.1 version of spress and directive theme brand new and I don't get any highlight code