Closed maglub closed 4 years ago
Pico (to be more precise: Parsedown, the Markdown parser Pico depends on) requires the PHP extensions mbstring
and dom
to run. If you're using a Composer-based installation, this is checked when running composer install
. If you're using one of Pico's pre-bundled releases, it is checked on runtime.
If you don't know how to install PHP's mbstring
and dom
extensions on your server, ask your webserver admin resp. your web hoster. If you're running your own server, the steps you must take differ from distribution to distribution. For example, if you're running Debian or Ubuntu, you can install the missing PHP extensions by running sudo apt install php-mbstring php-xml
in a shell on your server.
Thanks a lot for the quick answer.
I did install pico like this:
sudo apt-get install php-xml
curl -sSL https://getcomposer.org/installer | php
php composer.phar create-project picocms/pico-composer pico
I now installed mbstring:
sudo apt-get install php-mbstring
And viola! It works again. Funny that mbstring was needed for "tab" but not indentations with "space".
Sorry if I did not read the installation manual properly. Again, thanks a million for the heads up!
Hi,
If i create a code block with code indented with "tab", pico dies with the following error log:
Way to reproduce:
Create a page with the following markdown (where the indentation is a "tab", not spaces):
Environment
My composer.lock file: