Shortcodes: openPattern '{{' doesn't work on linux (Arch linux), best alternative ? Possible fix ?
See original GitHub issueopenPattern: {{
doesn’t work on my machine, I get this error message from rollup:
44: {{ picture src={data.url} /}}
^
...
ParseError: Unexpected token
(arrow under the ‘s’ of src).
So for now I go with %%
as the openPattern operator. All operator including bracket seems to have the same result, no problem with closePattern set to }}
.
Two questions about it:
- What is the best alternative according to you ?
- Do you think is something that can be fix in the future ? Thank’s 😃
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
System maintenance - ArchWiki
Regular system maintenance is necessary for the proper functioning of Arch over a period of time. Timely maintenance is a practice many ...
Read more >Visual Studio Code - ArchWiki
Code is a cross-platform text editor developed by Microsoft, built on the Electron framework. Visual Studio Code is a binary distribution of ...
Read more >pacman - ArchWiki
Arch's package manager pacman can install, update, and remove those packages. Using packages instead of compiling and installing programs ...
Read more >Frequently asked questions - ArchWiki - Arch Linux
Before asking for help, do your own independent research by searching the Web, the forum and the superb documentation provided by the Arch...
Read more >Network configuration/Wireless - ArchWiki - Arch Linux
The default Arch Linux kernel is modular, meaning many of the drivers for machine hardware reside on the hard drive and are available...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s currently interesting, because if I understand well, this helper return the shortcode.
So:
openPattern
+your shortcode
+closePattern
And it works even if we have
{{
as openPattern… Hum… 🤔Edit: in
elderjs/shortcodes
, there is already a test about that and it pass on my machine.Given these informations, the issue probably come from the implementation.
Investigate mode activate 👀
Interesting, I might try that. Thanks !